• history.back on iOS

    I have routine to automatically go back a page when a function is called. It works nicely in the desktop version of Chrome on my JQM application.  But on iOS 6.01 (iPhone 4 and iPad 2) the history.back() does not work.  I verified that the function is called with an alert statement just before the call to history.back. files: jqm is jquery.mobile-1.2.0.min.js and jq is jquery-1.8.2.min.js
  • New some help for sending a form

    Dear All, I would really appreciate to have a help on creating a form. I have a jquerymobile application working with Phonegape. When I test it from my prowser, it works fine, but there is a bug, when I run it on my iPhone. After testing and searching, I notice that the bug come after I send my form. I am using that form in order to save the profile. I would like to know, if you can help me on createting a form validation. I have to field which must be validate in order to make sure, they are not
  • parsing postal address

    Let's say I have this string:     <div>john doe is nice guy btw 8240 E marblehead way 92808 is also</div>or this string:     <div>sky being blue? in the world is true? 123 Main St., apt c420 Anywhere, USA 12345 jackfroast nipping on the firehead</div> How would I go about parsing a string similar to the one of the strings above, extracting the address and document.write-ing the address? Would this involve some sort of regex code? I've tried looking online for a solution using jQuery/Javascript, but
  • inserting javascript in a jquery

    i have a jquery plugin for date and time selection. i want to disable weekends and other selected days from it. i have found  the following thread for this purpose. but i don't know how to insert it in my jquery pluging to make it like i want . /* create an array of days which need to be disabled */ var disabledDays = ["2-21-2010","2-24-2010","2-27-2010","2-28-2010","3-3-2010","3-17-2010","4-2-2010","4-3-2010","4-4-2010","4-5-2010"]; /* utility functions */ function nationalDays(date) { var m = date.getMonth(),
  • How can i select item on screenshot

    Hi, Hov can i select text (1), from object number 3, but only when checkbox is checked? Thanks for any help.
  • function (data) { response(data.d); }

            $('#<%= txtSearch.ClientID %>').autocomplete({             source: function (request, response) {                 $.ajax({                     type: "POST",                     contentType: "application/json; charset=utf-8",                     url: "WebService.asmx/GetAutoCompleteData",                     data: "{'kwrds':'" + $("#txtSearch").val() + "'}",                     dataType: "json",                     success: function (data) {                         response(data.d);      
  • Error loading Chrome when using jQuery

    When viewing my page in Chrome, selecting a link produces a loading error. However sing FireFox does not and works as designed.  I have checked other post and none have been replayed too. Some are from a year ago. Could you please res[pond as this problem is driving me crazy.
  • Listview with two columns?

    With listviews is it possible to create two equal columns rather than the default single column layout? I'm trying to present more navigation options to the user with two columns rather than just one?  Any suggestions would be appreciated. Thanks.
  • Problem with ajax on BB10

    Hi! I´m trying to port my app that already works con BB7, Android and iPhone to BB10. I´m using phonegap 2.2, jquery 1.8.3, jquery mobile 1.2.0 and I´m not able to call some web services. Same code works on the other platforms but it doesn´t on BB10. This is the code where I call the WS. function llamarWSObtenerTelefono(codCliente){ // alert("HOLA"); mostrarCapaBloqueo(config.mensajes.recuperandoTLF, config.mensajes.espere, ""); console.log("lamarWSObtenerTelefono"); if(hayConexionDatos==1){ var
  • Problem with $.data()

    Hello, I have a little problem, I use the function .data() to store some things on an element $(this).data("menu", { type: "normal", state: "selected"}); This works fine, but when I go to modify the "state" like $(this).data("menu", {state: "deselected"}); I lost the menu.type, how I can change state without lost type? Thanks
  • Trouble with putting google maps in a collapsible set in jquery mobile.

    Hello I'm trying to put a google map in a collapsible set in a jquery mobile site I'm working on. The map skips when moved in the div but outside the div it behaves normally. Does anyone have a solution for this problem? The code looks like this and it's inside a collapsible-set: <div data-role="collapsible" data-collapsed="true">         <h3>             Navigation</h3>         <div data-role="content" id="map_canvas" >             <script type="text/javascript">                 function initializeMap()
  • Show colorbox popup images outside popup window.

    Hi, I am calling colorbox images in popup and colorbox get displayed inside popup. I want to show images in colorbox outside popup window. Any idea? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Page</title> <script language="javascript" type="text/javascript"> function viewAttachments()
  • selectable lost area selected using animate zoom

                $("#slider").slider({                 value: 1,                 min: 0.1,                 max: 2,                 step: 0.1,                 slide: function (event, ui) {                     $("#amount").html("" + parseInt((ui.value) * 100) + "%");                     $('#<%= GridView1.ClientID%>').animate({ zoom: ui.value }, 1);                     //selectable___();                 }             });             $("#amount").html("100%"); function selectable___() {             $(document).ready(function
  • Passing Data to an AJAX Call

    Hey all so Im trying to put data through an AJAX call into this div             <div class="scroll-pane2 blue small" style="">                 <p id="bulletinBodyArea" style="margin-right:20px;"></p>                </div> The AJAX is being triggered when one clicks on one of the links being fed from the database             <div class="bulletinSectionAccordion rounded">                 <p class="blue" style="font-size:19px;margin-left:23px;margin-top:15px;margin-bottom:10px;">Archives</p>            
  • Preventing paste event not working in jquery-mobile

    hi,     I am using jquery-mobile for developing my phongap application. I want to restrict paste event in particular input text. I have tried with normal jquery paste and copy events. But that is not at triggering. Can anyone help me to resolve this issue. Advance thanks for that.. 
  • I want to add one Element in XML file using jquery,How can i ?

    Hello,        Please let me know how to add parent and child node in xml file using jquery.Kindly reply as soon as possible,
  • show part of image on li:hover

    Hi all, I've got a header with a <h1> and a very large image inside. Below the header, I placed a nav with some links and sublinks. Through css I set the sublinks to display:none; when hovering over a <li>, the sublinks appear. So far, so good.. The huge image inside the header is clipped to show only a part of the whole image. When hovering over a <li>, I want to show a bit more of the image eg. fill the sub-ul with more of the image. Now I've got this working, only I'm seeing more of the image
  • jquery.ui tabs help

    Hi All, I have been searching for days and cannot seem to come up with an answer. I using jquery ui tabs and I have a form in the tabs. All my validation is done in my script which also contains my form i.e phpscript.php jquery is calling my script, the form displays but when I try and submit data the form just refreshes. this is the code in my head section. <script> $(document).ready(function(){ // set the tabs $("#tabs").tabs(); // Capture the form's submit event $('.legal').live('submit', function()
  • Datepicker

    how to add Jquery datepicker in dynamically loaded textbox.i.e., When i click a button , the popup containing textboxes from external page will shows in the present page. in that textbox i want to use datepicker. i have used following ajax for Loading a external page <script type="text/javascript"> function manageapp(id,apcno) { /*alert(id); alert(apcno);*/ //alert(dd); if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari req=new XMLHttpRequest(); } else {// code for IE6,
  • JSLint warnings of jquery.ui.widget.js 1.9.0-beta.1

    I'm checking jquery.ui.widget.js 1.9.0-beta.1(*1) by JSLint, and I have a question about the source code. *1 https://github.com/jquery/jquery-mobile/blob/1.2.0/js/jquery.ui.widget.js#L189 JSLint says "Do not use 'new' for side effects." at L189. Is this fatal problem ? 184: this.each(function() { 185: var instance = $.data( this, fullName ); 186: if ( instance ) { 187: instance.option( options || {} )._init(); 188: } else { 189: new object( options, this ); 190: } 191: }); Thanks.
  • Select Test In [ https://github.com/jquery/jquery-mobile ]

    Now, I'm testing jQuery Mobile using QUnit Test Suits which are attached to [https://github.com/jquery/jquery-mobile]. Test suit is including in [ jquery-mobile/tests/unit/select/index.html ] My condition is that iOS 5.1.1 safari browser In Select Test(select_core.js),  following test of second assertion is failed. asyncTest( "selecting an item from a dialog sized custom select menu leaves no dialog hash key", function(){ var dialogHashKey = "ui-state=dialog"; $.testHelper.pageSequence([ resetHash,
  • Tap Event on iOS 5.1.1

    Please teach me about jQuery Mobile Tap Event Handler. My condition is that iOS 5.1.1 safari browser. when I tap jQuery Mobile Button , sometimes event handler don't fire.   Thanks.
  • Sortable not working when the list comes from ajax

    Hi, I am unable to do sortable when the list is coming from Servlet layer using ajax. My code: $(function() {     $( "ul.droptrue" ).sortable({         connectWith: "ul"     });     $( "#sortable1, #sortable2, #sortable3" ).disableSelection(); }); function changeSecurityConfig(securityType){     if (typeof XMLHttpRequest != "undefined"){     xmlHttp= new XMLHttpRequest();     }     else if (window.ActiveXObject){     xmlHttp= new ActiveXObject("Microsoft.XMLHTTP");     }     if (xmlHttp==null){  
  • help needed regarding dialogs

    I am having two dialogs on a page, one will show Telerik control in a div. The other will show another aspx page as popup. the first dialog is functioning correctly, until I open the second dialog that calls a .aspx page. The problem is the telerik control stops working after the second dialog is opened
  • How to select all combo boxes whose id starts with cmd?

    How to select all combo boxes which id starts with 'cmd' ?
  • Help with dynamically changing content text size and background colour only?

    Hi all. I’m not in the IT industry, just a college lecturer trying to give my students some bite size learning resources to use on their phones. I do have some programming experience mainly VB with Silverlight to get visual attendance data over time and HTML from a site I had a few years ago. I have created a single html page that has about 8 jqm pages for information relevant to their course, with a 10 question multi-choice quiz (10 pages) at the end with feedback on their chosen answers. This is
  • Change event misfiring for checkbox group only for iOS

    Hi experts, I am developing a hybrid mobile application using jQuery Mobile and it needs to be used on both iOS and Android platforms. I have a group of checkboxes that are displayed horizontally (they look like a line of buttons) that can be checked/unchecked in any number. I have a listener for the change event so I know if something has changed in the group.  However when testing in iOS simulator I found that tapping any other part of the screen unchecks the most recently checked checkbox, and
  • Auto dial when phone icon touched

    I'm creating my first Mobile Web using JQuery Mobile, for a restaurant. and wish to place a phone icon on the contact page that will auto dial when touched.    Can anyone please help. 
  • Set a radio button in a fieldset?

    All... On my JSP register page, I have a password entry field, and "Male" "Female" radio buttons. They are set up to display side by side. <div align="center">    <div style="width:300px;">        <fieldset class="ui-grid-a" style="height:75px;"> <div class="ui-block-a" style="padding-top:10px;">       <label for="registerPassword">Password</label>       <input type="password" name="usrPassword" id="registerPassword"   autocapitalize="none" style="width:145px;" value="${requestScope.usrPassword}"
  • jquery multiple tab dynamically

    Hello Guys, I want to create multiple same tabs according to User request.Please help me in how to do that
  • Keeping same text alignment on different button types

      Version jQuery: 1.2 URL: http://www.mobilehost.me/MP/ I'm using both collapsible and link buttons on the same page. The issue I'm having is the text position on linked centered and collapsible text on the left. How can I place the test in the same position on the buttons? <div data-role="controlgroup" data-inline="true" data-mini="true"> <a href="appetizers.html" data-role="button" data-theme="c" data-iconpos="right" data-icon="arrow-r">Appetizers</a> <a href="soups-salads.html" data-role="button"
  • I am looking for a treeview jquery code with a future to save the state of expanded nodes!

    Hi I am looking foe a jquery script that creates a treeview menu! I have found couple but I need one with the ability to save the notes states!   So if I expand the node called categories and found 3 links under it Manage           Categories                        Add                        Edit                        Delete Reports So when I expand categories then I click on edit. I want the nodes to stay expanded exactly where are they now open not to reset! Is there any such a thing in jquery?
  • jquery append button formatting issue

    hello, i have a issue with the jquery button. i parse a xml to iport a list "li" with jquery..             for(i; i < count; i++)             {                   ....                               $('#veranstaltungenrss').append('<li><a href="'+link+'">'+filterDate+' | '+title+' | '+filterTime+'</a></li>');             }                         $('#veranstaltungenrss').append('<a href="#" data-role="button" data-icon="refresh" class="load-more">Weitere laden...</a>');             $('#veranstaltungenrss').listview('refresh');
  • JQuery Validate + Form Plugin integration Confusion

    Hello all! I cannot figure out for the life of me why this code wont work. Its a simple 3 field form with validation. After submission the form should reset and thank the user for their email. Ive looked over all the docs and even watched a few Youtube vids, but I can figure out my mistake. (document).ready(function(){    $("#contact_form").validate({       rules:{         namefield:{         required: true,         minlength: 10         },         emailaddress:{         required:true,         minlength:
  • How to designate callback routine in jsonp?

    Hello, How can I designate the callback I want to use in my jsonp?  Below doesnt work ... $.ajax({                                                             type: 'get',                                                         async: true,                                                        dataType: 'jsonp',                                                   url:'http://open.mapquestapi.com/geocoding/v1/address?callback=editResults",  data:{location:$json),                                    
  • setting style properties to table>tbody>tr>th cells

    hello!  trying to set the css class (or style properties) of th cells that are created with an asp.net gridview.  my html looks something like this: <table>    <tbody>       <tr id="DT_V1_grdData_trueheader">          <th>...          <th>...          <th>...          <th>...          <th>...       </tr>    .... here are a couple of scripts i've tried to access the th cells w/in the first row, but neither of them work.  can anyone point me in the right direction? i feel like i've given up 1/2 a day
  • mix of e.data and custom event?

    Hello all, I think I need some help with a little question. In my code I use e.data for a window resize function that changes CSS of elements. So I have: $(document).ready(function() {       sizing_I({data: {zoom:2.4}});       $(window). on('resize', function() { …other functions here… }) .on('resize', {zoom:2.4}, sizing_I); }); and the function: function sizing_I(e) {       var wh = $(window).height();       var f = e.data.zoom; var f2 = f*2; var f4 = f*4; var f10 = f*10; var f20 = f*20; var f150
  • Is there a to call a function when you close or reopen the App

    Dear All, I know that even "pagebeforehiden" will call a script when with change of page. But when I close the application, there si an event for that? The same when with open it? Thank and happy new year
  • How can I check if googlemap is not reload or is already loaded

    Dear all, I have a juquerymobile built for iPhone and I would like to make it working on other smartphone is Android. It has several page and on the first (#home) google map is loaded: // When I visit the #home page $('#home').live('pagebeforeshow', function(e){         // Resize #mapHome (#mapHome = Sreen hight - footer - header)     $('#mapHome').css('height', Resize.content()-0 +'px');      // Start tracking the Use                 // extract les id des modules existants         navigator.geolocation.getCurrentPosition(function(position){
  • How to do this using jquery instead of CS flash???

    Hi. I would like to know if it possible to do this using jquery to retrieve data from my database and presenting in my web page like the flash I attach. I'm getting problems using flash (beside being very slow) so I want to change it. The idea is to use each button in bottom (NOV, ABC, ...) to show different types of information and in movement. Anybody knows  if there is  something slightly similar to use it or adapt it. Here is the swf and html page (Flash CS5): https://dl.dropbox.com/u/66063007/FLASHJQUERY/todoinjquery.rar
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of