• Why not lightbox? Suggestions?

    Is there a reason why jQuery UI still lacks one of the most fundamental new UI elements in recent web design: the lightbox? I know there's dialog but AFAIK that's not quite the same thing. For example, I've been asked to force users to click 'Agree' to a lightbox prompt when moving away from a page (through clicking a link on the page, for example). I need to put the T&Cs in the lightbox and there doesn't seem to be an option for that with the dialog widget. What would be people say is the best lightbox
  • Upon Render Remove Countries From DropDown List

    Hi, I have a dropdown list of countries used to select which countries I'll ship to. I really only need it to be United States and Canada.... but the list of options includes about every country there is. I cannot alter this list, there is a template tag that simply spits out the following code when the page renders (list shorted for ease of display) <select name="billing_country" onchange="document.billing.action='checkout3.asp?step=3&amp;action=updatecountry';document.billing.submit();" class="txtBoxStyle">
  • Thanks for jqm 1.4.0

    Dear jqm team Thank you very much for the early Christmas present! Really love the new design. More icons, an updated theming application, no more ugly gradients and rounded corners. Excited to explore all the other new features of 1.4.0. Thumbs Up! Merry Christmas! Ralph
  • I need help from jquery mobile experts...i am very much lagging with my issues..pls help me out....

    hai i have started a frame work of my own.my zeal and aim is to achieve my goal of mobile framework that is compatible with services and data base .and the theme of my framework is the one who is not much familiar with developing mobile apps also can develop and build mobile apps of his own and which is having more features like. *Dynamic scripts *Data base integrity *Wcf rest service integration *Web service integration *Dynamic generation of basic and jquery validation. *enhanced css templates
  • Redirection not working

    Hi,   I am running a DNN7.1 website. I have a regular website. I added a page which acts as login page for mobile users. I am using JQuery Mobile 1.3.2 on the mobile pages including this mobile login page. If the user navigates to that page and enters username and password, it works correctly and redirects them to the correct page sent on the url using a querystring (example: http://localhost/Mobilelogin?url=http://localhost/somePage , it correctly redirects to http://localhost/somePage). Now I want
  • Best practice to link to a piece of code

    Hello. I am making an app that has episodes list of a show. I have covered the issues of copyrights so that is not a worry. The problem is that the show started back in 2009 therefore I have a lot of videos linked through iFrame. I used a list-view demo from jquerymobile docs & demos website and figured out how to make embedd an iframe in a popup (there was also a user on here that helped me as well). The project can be found here: http://www.ideviceinfo.x10.mx/apping/app/index.html Since the listing
  • Data-Transition Jquery Mobile Problems with CSS style

    I'm having trouble styling jquery mobile. The styles of the first page are in use as all other transition-date! Border, color, sizes .... And I do not want it ... Anyone know how to solve?
  • Query regarding convert asp.net application using jquery mobile framework

    Is it possible to convert application developed using ASP.NET framework 4.0 (not used MVC) using jquery mobile framework? 
  • Sub page problems

    please how do i add title to a sub page in my document and how is the best approach to work and link subpages to avoid error when you click on it or try to navigate from a subpage to an external document
  • How to add more than one div in a tabbed menu?

    Hey guys, I'm building a website where I have a menu (let's say it's a box) that has two tabs, "Enter" and "About". Now I've seen a video tutorial on how to make the tabbed menu work with JQuery, but what If I Want to add more than one div to the content? For example: div id="tabs"> <ul> <li class="active" style="border-top-left-radius: 4px; border-right: 0px;">Enter</li> <li id="2" style="border-top-right-radius: 4px; border-left: 0px;">About</li> </ul> </div> <div id="caixa"> <div id="enter">   <p>1</p>
  • Tabs problem when present in remote conten loaded with Ajax

    Hi, I have a problem with a new Tabs widget in JQM 1.4 RC1. If i put the tabs code in the index page i haven't any problem. Bug fired, when the tabs code is present in the other page and i get that page with ajax. The problem is in isLocal funciton when tab is created. The function return false when tabs widget is present in the other page. Sorry for my poor English. Bye
  • Stylesheet makes some fonts white shadow, or engraved on subsequent pages

    I really appreciate jquery mobile - life saver, easy to use, love the popup.  I noticed on my Web page (on both desktop PC and android mobile phone) that many of the fonts appear with a white shadow. Some appeared engraved at times, but this isn't consistent. It makes the fonts look less sharp and legible. Inline styles and scripts are still in the page during development.  I also noticed that the jquery style sheet carried over to pages that are not using the style sheet - just plain text and no
  • Little help with a loop

    I am trying to loop thru a json array of errors specific to a form #id (sel) but it is not working. function setErrors(errors, sel){     errorUpdate(sel);     //alert(sel); // returns #add_form     $(sel).each(errors, function(field, msg) {         //alert(sel); returns nothing         var parent = $('[data-field='+ field +']').parent();         $('[data-field='+ field +']').addClass('form-error', function(){             $(parent).append( '<span class="help-inline error-message">' + msg + '</span>'
  • Problems with ui Tabs

    I have defined ui tabs. I have a <base> tag. Everytime I load the tabs page double the content gets loaded into the tabs. I need the <base> tag (Removing it fixes it). Is there a solution to fix this so I can use the <base> tag. Thanks for your help.
  • combine collapsible and non-collapsible

    Greetings, I have a collapsible set, but what if I want one of the collapsible sections to NOT be collapsible (and have a hyperlink), but still live among the collapsible. Example: Sections 1 & 3 are collapsible with lists within them that are hyperlinked. BUT Section 2 has no lists/subsections inside it. I want Section 2 to be a hyperlink all on its own AND I want it to fit/nest/connect in with Sections 1 & 3, not stand out by itself. How to do this? Thanks!
  • Hyperlink autoclick on page load jquery

    I want a link to get clicked on page load. For this I have added this script in my code: $(document).ready(function(){  $('#id').trigger('click') }); This document.ready() function works fine, If I test it to alert a message. But the link is not getting clicked on page load using this. Can someone please guide me for this?
  • Style accordion widget

    New to JQuery. I downloaded the accordion, put it on a web page on my site. Works fine. My problem is I'm trying to figure out how to style it. The only thing that seems to work from my css file is the width of #accordion. How do I style the group background and the header? Thank you, Jay
  • JQery Function Not Working

    This function is not working please help me i need to auto complete the data in suggested text box $('#BrandName').autocomplete({ source: function (request, response) { $.getJSON("/DataCollection/SuggestBrandName?term=" + request.term, function (data) { response(data); }); }, minLength: 1, delay: 100 }); my json result public JsonResult SuggestProduct(string term) { var DataBase = new DataBaseEntities(); var allProduct = DataBase.Tbltables.Select(s => s.BrandName).ToList(); var getAutocomplete =
  • Change Div using Li in html and jquery

    I have few div (may be 4 or 5) , and   Color Brand Master Cards  Color - Red Master - MySelf   i want to show div GetCol and hide other all , when Color(GetCol) list clicked. same way for GetBrd .. etc....   I hope u understood   Pls advice   regards
  • Jquery doesnot work with out alert .

    Hi All, Updating the Dynamic DIV  style works with alert() only. Getting records from the DB using JSON, trying to change the background color of the DIV using the JSON value. Thanks, Saran
  • Require help to resove jquery mobile issue

    Currently i am working on asp.net application with framework 4(No use of MVC). the current application is developed using jquery.  now i want to migrate my jquery application to jquery mobile. (without MVC). i had implemented jquery mobile in my login page. but after login while redirecting to home page, mobileinit event not working as i had added all header file my masterpage. i am using mobile 1.3.2 jquery framework. Please give ur valueable input to resolve my this query.
  • Error in loading page

    i work with jquery 1.8 version and each time i add a subpage to my document. it gives me error when i click on the link to call the sub page from the main page and if it goes through, it gives me error when i try link from that sub page to another external file or . i use the <a href "#subpage"></a>
  • Bind this function to a second event

    I have a function that executes when a specific <select> field has its value changed: $(document).on('change','#form-register .gfield_list tr td:first-child select', function() { However, I'd also like the function to run whenever the page is reloaded, is there a way I can do this simply with the on() method?
  • Change content inside height

    I want to change the height of an image with jQuery. But I do not want to change that with Css Normally jQuery performs this work with CSS Without CSS, how do I do it? And Directly change the content of height="" ? Thanks
  • hell

    please am new into jquery mobile we app development. i want to know, which script language is better for dynamic app development, i can write php to a good extent. So please cn i continue developing with php? i need answers
  • jQuery mobile reloads iFrame on panel opening

    I have stumbled upon this weird problem, where an iframe in the content area of a jQuery mobile site is reloaded the first time I open a panel. Any subsequent opening does not reload the iFrame. You can see it in action in this fiddle: http://jsfiddle.net/jakobgt1/Z3mmn/7/ (watch the network requests). <body> <div data-role="page"> <div id="nav-panel" data-role="panel"> <a href="#my-header" data-rel="close">Close panel</a> </div> <div data-role="content"> <a href= "#nav-panel" data-role="button">FooBar</a>
  • Embedding video in a listview

    Hello. I am working on a jQueryMobile native web-app for iOS. Since I am a total noob at coding, please bare with me. I around about 50 to a 100 videos on a youtube channel that I putting up as my code goes. The videos are episodes for each month. So I started with June (since I have the episode of that old show from only June at the moment). The thing is that since that was the only video for june, everything worked fine.. Working page is at http://www.ideviceinfo.x10.mx/apping/app/years/data/2009.html [Click
  • In console.log it printing url alone and also it doesnot showing image in my webpage

    my JSON data  "image":{         "path": "../image/Penguins.jpg",         "width": 200,         "height": 200     }, my script $(document).ready(function () {     var tran = null;     $.ajax({         type: "GET",         url: "../data/data.json",         dataType: "Json",         success: function (msg) {             var image1 = msg.image.path;             console.log(image1);             $("#abc").append(image1);   })   }     });
  • Using this with a target

    I can output this() to a console.log(). How do append it to a div as I cannot chain this(). $(document).ready(function(e) { $('a').click(function(){ data = $('a').attr('data-urlrdir'); console.log($(this).data()); }); });
  • Issues in displaying child div while parent div is hidden in jquery

    I am creating a script,which creates a dropdown and certain divs dynamically.Based on the dropdown value I want to display a particular child div.The Php script is shown below. PHP Code $status_box='<select class="lang_select" id="lang_select">                      <option value=-1 selected="selected">Select Language</option>';         while($var=$db->fetchRow($res))         {             $status_box.='<option value="'.$var[0]. '"   id="'.$var[0].'">'.$var[1].'</option>';         }         $status_box.='</select>';
  • jQM page - infinite scroll

    I have a jQM page into which I am dynamically inserting HTML snippets (table rows). These snippets represent data, about 25 records in a tabular format. The 25 record limit is set to minimize latency & timeout issues. I would like however to retrieve the next set of 25 records as the user scrolls to the bottom of the first set of 25 and again as they reach the bottom of the second set of 25. In effect I would like them to be able to scroll infinitely while getting back data in set increments.  Is
  • jQuery mobile native app and google drive is it possible?

    Hi, as title i try to create a native app to ios that include the possibility to update and download file from personal google drive account. Is it possible use google drive api in a native ios app via javascript? I found solutions thats needs a server. Thanks for any help !
  • Image Flickers when reloading on Ajax request. Can it be solved with Jquery?

    I have a page that displays graph image which is refreshed every second via ajax call.  The problem I am having is that image flickers every time it refreshes.  I was told that I could solve it with jquery library but I am new to it and have no idea where to start.  Can someone look at my code and let me know if this is a quick fix or point me in the right direction? Here is my code  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  • Need Help With JQuery.deferred

    Hello Everyone: I hope this question is in the right forum. I'm using jQuery fullCalendar and having trouble with asynchronous execution preventing a proper refetchEvents. In research I found out about jQuery.deferred, but can't seem to properly execute a refetchEvents AFTER posting new events to the php file. Following is my script as it now stands:                 // Now that you've grabbed returned data from ol_LogEdits.php and created arrays, send the new arrays to ol_postActivity.php for INSERTing
  • Push [getJSON] values into a local varialbe array - MVC4

    Hi All, How to we get Json values to a local variable array? My Json Get function:  var dataArray = [];   $.getJSON("/Role/GetSeasonsRatesJson",  function (myData) {  $.each(myData, function (i, item) {                               dataArray.push([item.FromDate, item.ColorValue]);             }); } Will return following value pairs:    var _myData = new[] {  new { FromDate = "01122013", ColorValue = "Red" },  new { FromDate = "02122013", ColorValue = "Red" } }; Not able to access the values in  local
  • jQuery Dialog boxes and there use by websites to deliver ads

    These dialog boxes are wonderful. I use them to give users of my sites to deliver more information on a topic, but only when a visitor asks for more information. The are being abused, however, by websites that open them when a page is loaded, knowing that they can't be blocked by a browser setting to "block popups". How can they be blocked, short of blocking all Javascript? They have gotten to the same point that popups were originally. It seems that the Internet today is driven completely by greed
  • How to animate without miss in performance?

    Inspired by this website, www.adhamdannaway.com i did my own version http://americanhorizon.altervista.org/portfolio/portfolio5.php The problem is that animation for enlarge and restrict boxes is very slow performed with jquery. It's the only method i know to do it adding some easing effects.. If i don't use animate method all works fine, but i loose the easing effetct!! exemple there http://americanhorizon.altervista.org/portfolio/portfolio3.php adhamdannaway website instead uses easing without
  • Invalid JSON - Fatal error: Cannot use object of type carrito as array in

    Dear Friends, I've already checked a long list of details and can't find the solution. I have a website hosted on two different servers, with the same exactly OS and PHP version, while on one host the script works without any issue, on the other host I get the following error: "Invalid JSON: <br /> <b>Fatal error</b>:  Cannot use object of type carrito as array in <b>/home/username/public_html/lib/class/cart.class.php</b> on line <b>186</b><br />" What could it be? Any help will be much appreciated...
  • Any good drawing area?

    Hi, any good drawing area? I would like one that join two points with a line, you know i click in one time, then click again, and the two points are joined with one line. I have found this: http://intridea.github.io/sketch.js/ but it doesn't allow to do what I say
  • Store server message in a variable

    Hi everybody, I'm developping an app with Arduino Yun controlled by a web page with Javascript/Jquery. From Arduino Yun (server) I receive in the web page some data with this statement:         function monOn(){             handle = setInterval("showGetResult(function(data){$('#cont').text(data);});",2000);             ...... This statement work without problems. But I woul'd make some formatting on the received text. How can I store the received data in a Javascript variable? I've already tried
  • 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