finding a jquery alternative for the android webview widget

Hey there, I'm looking to display an image on half of the page and a table on the other half when hitting a URL. In Android, I would use a webview for this. However, I'm wondering how to achieve this in jQuery Mobile. Is there a widget similar to the webview in Android that I can use? Any assistance would be greatly appreciated. Thank you in advance. Here is my current HTML file:

<div data-role="page" id="findusPage" data-theme="e">

<div data-role="header">
    <h1>Find Us</h1>
</div>

<div data-role="content">    
<p>
Apex International Hotel, Edinburgh<br/>
31-35 Grassmarket<br/>
Edinburgh<br/>
EH1 2HS<br/>
Scotland<br/>
</p>

<p>
<img src="http://10.22.32.121/charts/mobilechart.asp">
</p>

<p>
<a data-role="button" id="drivingButton" data-theme="a">Get driving directions</a>
</p>

</div>

<div data-role="footer">
    <h4>Page Footer</h4>
</div>

Despite my efforts, the image isn't displaying as intended.

Answer №1

I finally found the solution by using an iframe tag instead of an img tag.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Using a separate function to trigger the save_post action for custom posts in Wordpress

I have created a custom post using functions.php, which is working fine in the admin panel. Now, I want to manually create a custom post from another PHP file using AJAX. Here is the code snippet from functions.php: add_action('save_post', &apos ...

The standard date format used in Javascript/Jquery programs

I have a kendo date picker set to display dates in the format "MM/dd/yyyy". I need to use jquery or javascript to ensure that the selected date is not in the future and is greater than '01/01/1900'. The problem I'm encountering is handling ...

How can I effectively run and execute JavaScript received from a Node server using Node.js?

Hey everyone, I'm just starting out with Node and I've run into a little issue that I could use some help with. Basically, I have a page at that does some stuff, and I want to connect to the node server which is located at . var server = requir ...

adjust variable increment in JavaScript

As I work on developing a Wordpress theme, I have encountered an issue with incrementing a load more button using Javascript. This is my first time facing this problem with a javascript variable, as I don't always use Wordpress. The variable pull_page ...

Retrieve the highest location of a dialog in JQuery

I've been experimenting with the position option on JQuery dialog plugin. My goal is to extract only the "top" and "left" values from this position object, but I'm struggling to do so. Currently, my dialog is set up like this: <a href="#" onc ...

Filter the ng-repeat list dynamically by triggering ng-click event

I am currently developing an application on that requires users to be able to filter a list of credit cards by clicking on filters located on the interface, such as filtering for only Amex cards or cards with no fees. Although I have successfully bound t ...

The correct method to access this LINK

Link to Image for Removal What is the correct method for calling the "Remove" link? How can I use jQuery to trigger the function when the "Remove" link is clicked inside a Bootstrap modal? Here is my HTML: <table> <tr> <td valign ...

Manipulating a textarea in jQuery by inserting a string and selecting a specific portion of it

Just as seen on SO with the B button: **bold text** Including that bold text is automatically highlighted and the cursor is placed right before the b ...

Is it feasible to alter cookie data within a jQuery ajax call?

I'm currently developing a Chrome extension that enables users to capture all HTTP requests for a specific website, edit components of the request, and then send it again. My plan is to utilize jQuery's ajax function to design and dispatch the a ...

Error: Your request could not be processed due to a Bad

url = "/IPM/KPI/Add"; input = new FormData($('#frmKPI').get(0)) ; PostAjax: function (isForm, url, input, divErrID, btnID, isSuccessFunction, isFailedFunction, NoModalAlert, isAsync) { var contentType = isForm ? false : "appli ...

Utilizing Codeigniter Ajax to return multiple rows in an ajax call, implementing two conditions (AND) in the SELECT query within the model file

When I click on the 'invoice number' in my 'purchase list', I want to open a collapsible table that will display the list of products matching the invoice number. To achieve this, I am utilizing jQuery to create the collapsible table an ...

Server response not being awaited by Ajax call

Currently running WAMP v.2.5 on a Windows10 system for my PHP project connected to a MySQL DB that involves multiple AJAX calls, all functioning correctly. However, there is one specific call that keeps throwing an 'Unexpected end of input' error ...

Gliding along a div and concealing it out of view, making it seem like it has disappeared

I attempted to slide down the ".preloader" div after a 2-second delay using JQUERY, but I couldn't get it to work as expected. I didn't want to use a toggle button for this effect. I also experimented with creating an animation using @keyframes, ...

Execute another Ajax request using jQuery after the first Ajax callback has been completed

Looking for a solution to ensure the correct order of appended contents loaded via ajax, I have the following script: $.get('http://mydomain.com/ajax1.php/', function(data){ var data_one = $(data).find('#ajax_editor_suggestion_c ...

Google Chrome is unable to process Jquery JSON .each() function

My website has a simple chat application that is functioning well. It uses ajax to request data in this manner: $.ajax({ url: "fetch/"+CHAT_SESSION_ID+"/"+LAST_MESSAGE_ID, dataType: "json", cache: false, success: function(data) { if (data.session_ac ...

Is there a way to make a checkbox uneditable without actually disabling it?

I am encountering difficulty in resolving an issue. Within my application, I create text-inputs, checkbox inputs, and a select element. There are instances where I need to pre-fill these values for the user and prevent them from being modified. These elem ...

What is the best way to post a text link simultaneously on social media?

I currently have: $('.clic').click(function () { event.preventDefault(); var cliclink = $(this).attr('href'); var clicanchor = $(this).text(); $.post("addclic.php", { li: cliclink, an: clicanchor }); }) as well ...

implement a dropdown feature for a vertical menu with the help of Jquery

Struggling to implement a dropdown feature on a vertical navigation using Jquery. The HTML includes a nav section with 1st level list items and nested li's for second level menu items. On clicking the 1st level li, the intention is to toggle SHOW/HID ...

What steps should be followed in order to write this piece of JavaScript

Upon viewing this post, you will notice an "add comment" link below it. Clicking on this link will add a textarea for users to input their comments. I am curious about how I can implement a similar function? Update: Thank you all for your assistance. I ...

Changing pricing on pricing table with a click

Looking to implement a price changing button that functions similar to the one found at this LINK: If anyone knows of any JavaScript or other solution, please provide me with some guidance. Thank you in advance. ...