• Canvas frequently black in Android 5/Lollipop

    I have two PhoneGap apps that work across a number of platforms but now fail on Android 5. They use jQuery and jQuery Mobile. A similar bug was reported on StackOverflow (http://stackoverflow.com/questions/29754737/canvas-shown-black-randomly-on-android-5/) and the author there is also using jQuery Mobile. Both of my apps make extensive use of the HTML5 canvas but the canvas element often appears entirely black in Android 5. Transitioning to another page usually fixes this, but updates are also often
  • How i create modal popup window?

    Hi Friends I am a beginner developer of ASP.net. I have two div tags and want to use them as modal popup and both are interlinked. say open one from each other. pls help
  • jQuery UI for designers

    jQuery UI is loved by developers for the powerful features it enables, but from a designer point of view, the default styles usually needs a complete override that can be really cumbersome. I would love to be able to have 2 distinct CSS files, a first CSS with the base styles, only the strict minimum to insure the correct behavior and a second file with the optional styles that would match the current look and feel with theme customization. This way you could add only the first CSS file and have
  • How to invoke ready function on appended code

    Hello, I have in "ready" function code:     (function () {         var $args = {};         if (             $(window).width() < 1010         ) {             $args = { text: false };         }         var onEach = function () {             var $style = $(this).attr("style");             $(this).button($args).attr(                 "style",  $style             );         };         $("INPUT[type=submit], BUTTON, .button").each(onEach);     })(); In different place I append HTML like this:            
  • Select is empty when I pass to PHP

    Hi, I am using below code to read the value from SELECT and pass it to PHP then get back the response. It's working perfectly when I change $request_category = $_GET['cboRequest'] to $request_category = 2 so the problem is at the value passing level Can you help please? $( "#cboRequest" ).change(function() { $.ajax({ type: 'GET', url: "get_request_processing_period.php", // dataType: "json", data: $(this).find('option:selected').val(), success: function(response) { alert(response); // data = response;
  • How to force check button to loose active state or focus?

    Hi I change the background color of a checkbutton in a list element. It works like this: good jsfiddle: https://jsfiddle.net/v1cavyvo/2/ <ul data-role="listview" id="liste" data-inset="true">     <li>          <a href="#" id="openExerciseLink74">             <img src='' height="100" width="100">             <h2>ddd</h2>             <p><span>Wo: 3 x offen</span> (3 x 3 Wdh)</p>          </a>         <a onclick="changeColor(this);"             id="background74"             class="ui-icon-check activeYellow
  • Dynamic panel menu like demo site

    Hi all. Just starting out, noob, etc, etc... I really want to emulate the panel menu show hide as seen on http://demos.jquerymobile.com/1.4.0/ where the panel menu displays on the left when the page is wide enough, then turns into an overlay panel when the page width decreases. Is anyone able to show, or point to, a basic template for this setup?
  • Selectable :(

    how do i disable Ui Selectable multiple selection i dont want ppl to be able to multiple select by Ctrl key or other ways !
  • Trying to get an accodion style within tabs

    ok heres my question I am new at jquery so bear with me but I catch on quick here is my code. <!DOCTYPE html> <html>         <head>         <link rel="stylesheet" href="Testmain.css">                <script style="text/javascript" src="jquery-ui.js"></script>         <script style="text/javascript" src="modernizr.js"></script>     </head>     <body>            <div>                 <img src="tokeOfTheTown.jpg">             </div> <!-- this is original tab code -->       <div id="container">        
  • Drawing with jQuery?

    This is sorta the only forum I frequent, sorry if you can't do this in jquery. Does jQuery offer the ability to draw? I"m wanting to start moving into drawing -> drawing simple animations from point X - Y. I've glanced at html canvas, but I'm wondering what language is the powerhouse for fluidity in browsers. I guess my question is which programming language offers the most stable platform for drawing basic lines and shapes, and offers the ability to animate them fluidly inside browsers. At this
  • css affect on after loaded div content

    Hi everyone, I'm new on jquery, so i am stucked and have a question. I have a main div, it's content is loading with js containing jquery.html function. And also I have a main.css file. After loading this content, some functionalities like onclick or hover does not work. As far as I understand, that after loaded div doesn't get affected from this main.css. How can I fix it or what am I doing wrong?
  • Syntax for adding function to jQuery UI Accordion Event

    I'm fixing up some jQuery functions that I wrote eons ago, and I can't seem to get the syntax right for inserting a simple function that should be called when the event is triggered. It was nice and easy to insert the show() to the mouseleave function, but I've run into a wall on how to insert a simple hide() function into the event: "click hoverintent". $(".accordion_closed").accordion({         event: "click hoverintent",         collapsible: true,         active: false,         autoHeight: false,
  • Is there a way to print title attrib of all images on a web page?

    I was wondering if someone here have or knows of a method using jquery, maybe by means of a button or another way to show/print/display the tittle attribute of a group of images using jquery.  Probably it doesn't have any utility, but is it possible? Thanks for your responses and interest in this matter.
  • JQuery Modal Form

    Hello all, I am trying to create a small table, with the following specifications: 1. there will be a button that user will click (Enter Your Details) 2.Under the button, there will be three columns with the following headings (Full Name | Password | emailAddress) 3. When the button in item 1 (above) is clicked, it will open a modal form 4. The modal form will contain a form with the following details (username | password | email 5. There will be two buttons below the form (Submit and Cancel) 6.
  • Light box is not working

    Dear all http://webvikas.net.in/aadivasisangh/projectdetail.php?projectid=66 light box is not working please help the jquery is conflicting but could not find solution
  • Stop an loading Ajax Spinner after unknown amount of ajax requests.

    Hello,  I have a service that I am calling an unknown amount of times per each page requests. When the page loads I have a loading spinner running.  Before, when I had one ajax requests, I would just stop the loading spinner at the end of that request, usually in the ".done()". Yet this time, I do not know how many calls will happen.  I have something like this,  for(var i = 0; i < requests_times ; i++){    $.ajax({         url : 'ServiceRequestUrl'     }).done()        .error() } Now, how would
  • Slicknav not working

    I've used jquery stuff before and never had something so simple stump me like this one. So here we go - I have loaded the css and the JS and the HTML is as follows to a blank test page and still nothing. What am I missing? http://www.peavineroad.com/mobiletest.html <!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=utf-8"
  • Web Service Phonegap

    hello  i have a problem with calling web service with phonegap when i try it on my phone  an error display with this message "Network Error Has Occurred please try again"
  • Adding title to SlickNav mobile menu

    Very impressed with SlickNav plugin, but would like to add a search form and title to the .slicknav_menu bar, but can't figure out how to do it. Any help would be much appreciated. Many thanks - Deryk
  • is correct extend the ajax function adding a method "websocket+json-rpc"?

    I'm interested on replace ajax calls by websockets and json-rpc calls, but many javascripts i'm using are writen for use ajax. Is correct to extends the ajax object, adding a new method? (existing methods are GET, POST, PUT) There is some work similar this? Thanks
  • jQuery Text swap help

    I am currently calling a function that checks if td contains a specific text, and if it does, it swaps the text with the array. Is there a better way I can do this? I have 165 to swap and append, and this could get lengthy.     function replaceAff () {     var RLREID = ["AL201","az202","az203","az204","ca202","ca203","ca204"];     $('td:contains("' + 'al201_real_living_norman_realty' + '")').text(RLREID[0]);     $('td:contains("' + 'az202_real_living_property_for_you' + '")').text(RLREID[1]);    
  • Alert is hit 2 times sometimes more.

    function WireScrollForMorePatients() {     $('#CalendarId').unbind('scroll');     $('#CalendarId').bind('scroll', function () {         var elem = $('#CalendarId');         if (elem.scrollLeft() + elem.innerWidth() >= elem[0].scrollWidth - 1) {             alert('End reached') // This is hit more than once in IE and Chrome and FireBox ask to stop popping the same alert !             return false;         }     }); } Also there's a different behavior if I scroll with the cursor of the scrolled or
  • Approx 2 pixel shift on page transition in JQM 1.4.2

    I'm experiencing a 2-3 pixel shift of the page content on the completion of a page transition in jqm 1.4.2. This results in an ugly white 2-3 pixel wide bar at the bottom of the page under my fixed external toolbar/navbar that flickers into view for a fraction of a second.  I knew this was an issue in earlier iterations of JQM but thought it had been fixed for 1.4+ I'm seeing this on iPhone 5+ iOS8 on a device but doesn't appear to happen on Android. 
  • How don't execute a file.

    Hi, I would like to know how to  prevent the execution of the specified file when you press the cancel button. I have a html form on jquery dialog to input user name and password. The two input text are required attribute. When I press on "access" button I run a php file and then I access to my system, when I press on "close" button I would like to close the dialog, but it appers the required message. Demo: http://jsfiddle.net/xzwmwqsz/76/ Thanks in advance. Tegatti  
  • Uncaught TypeError: jQuery(...).jqGrid is not a function

    Please Help, Im new in Jquery and having troubles to run a JQGrid.  I have:    <script src="~/JQGridReq/jquery-1.9.1.js"></script>     <link href="~/JQGridReq/jquery-ui-1.9.0.custom.css" rel="stylesheet" />     <script src="~/JQGridReq/jquery.jqGrid.js"></script>     <script src="~/JQGridReq/grid.locale-pt-br.js"></script>     <link href="~/JQGridReq/ui.jqgrid.css" rel="stylesheet" /> <script type="text/javascript">     jQuery(document).ready(function () {         jQuery("#list").jqGrid({        
  • Reusing of functions

    Im using Jcrop plugin, with convenience to my project im using 4 times the plugin call in my page, here is the link http://jsfiddle.net/4tkk0rLd/1/ , is it possible to reuse the functions instead of calling each one four times ?
  • Add Pull to refresh event in jquery mobile

    Hi i request to add pull to refresh event in jquery mobile  becasue if i use third party tool like iscrollz or iscrollview then swipe event stops working you can test this example http://www.kamrat.com/test/iScroll5/iscroll5-pull-test.html and add swipe event to it. An intersting thing is that in safari swipe event works in combination with pull down to refresh ie. (iscrollz or isrollview) but fails in ios simulator and devices
  • how to load content in to the div dynamically on clicking button with out loosing jqm css

    as i tried to load the page i am getting the content but its in natiove html format rather than jqm style
  • understanding $.event.special.bsTransitionEnd

    hey guys was just going through the source of transition.js and came across the following lines of code :  $.event.special.bsTransitionEnd = {       bindType: $.support.transition.end,       delegateType: $.support.transition.end,       handle: function (e) {         if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)       }     } I know i will probably have to go read a bunch of articles before i actually understand whats happening in there , but can somebody give me a general
  • Hyperlink not working on ipad and iphone

    Just recently after we upgraded to the latest iOS, it seems like at one page, where there's a hyperlink, that link just stops working on ipad and iphone.   The actual code is:   <a id="featured_9" class="nolink" href=http://www.google.com style="cursor:pointer;">         <div style="background: none repeat scroll 0% 0% rgb(35, 35, 35);" class="mykeyfloatbox">               <div id="mykeyfeat1" class="mykeyfloatbox_int block" style="background-image: url(&quot;undefined&quot;) ! important; background-size:
  • Source Code Example License

    I hope this is not a stupid question, but is all the source code examples on https://jqueryui.com/ go under the MIT license? Thanks!
  • jQuery datepicker error: Missing instance data for this datepicker

    I am dynamically creating a textbox then adding a datepicker.  The datepicker loads onclick, but when I change the month or change the month, I get the error message, "Missing instance data for this datepicker."  How do I fix this bug.  Here is the excerpt of jquery code         $(document).ready(function  () {             $('.filter').click(functio n () {                 var pos = $(this).position();                 var width = $(this).outerWidth();                 var height = $(this).outerHeight();
  • jquery-ui draggable help

    I've made a div draggable using jquery-ui and I'm trying to customize it in a few ways but it doesn't go well. What I want to do is make it so the div won't go over the scrollbar of the browser, I've constrained it to the window object as well as to the document object but neither succeeded. This is my code : $(function() { var container = $("#context-menu-container"); var header = $("#context-menu-header"); var options = $("#context-menu-options"); var steps = $("#context-menu-steps"); container.draggable({
  • jQuery Grid search function not working

    hi, search function is not working i want multisearch function please check my code below jQuery(document).ready(function () {             $('#btn1').click(function () {                 //debugger;                 $("#grid").jqGrid({                     url: 'WebMethodEx.aspx/GetDataFromDB',                     datatype: 'json',                     mtype: 'POST',                     ajaxGridOptions: { contentType: 'application/json; charset=utf-8' },                     data:'{}',                    
  • how to make table(gridview) synchronize with map area that already create by using hover or others?

    hello everyone:  i have a question that how make the gridview from the row when mouse over can see the hover and at the same time show hover on the location map area that already fix such as the seat where alice sit. Note the table data come from the xml file Example Student  Sit number alice      12 map:
  • how to make function Keyup working too by give value by another keyup in diffrent entering

    Hello Guys, i have form that is more complex for me, a lot of jquery function on it, so here is my simple demo http://jsfiddle.net/dauruk0512/524LpL8r/9/ There is two way buy product If serial number entering automatically qty has default 1 and cannot edit cause i make readonly if serial number not entering user can buy product more than 1 Problem is when user doesn't entering serial number then buy same product more than stock i'm success make alert but when user buy entering serial number i cant
  • Problems with Elevatezoom with Fancybox

    Hello, I am trying to get a combination of Fancybox and elevatezoom working together. I got it working in FF and IE but it will not work in Chrome. I was wondering if someone could help me? Link to test page: test.html Jquery Code <script type="text/javascript">         $(function() {                   $('.fancybox-buttons').fancybox({                 maxWidth: 512,                 maxHeight:768,                 openEffect  : 'none',                 closeEffect : 'none',                 prevEffect
  • how to let webstorm support jquerymobile?

    just like when i type 'dat' it will show me 'data-role'
  • Help on AJAX Pleaaase !

    Hello everyone, i am a beginer on ajax and jquery and i have a problem using ajax to send data to a php page whithout refreshing the actual page, pleaaase help me solve this probelm it took me a lot of time, i could not upload the code on this forum so i'll be gratful if you help me by downloading my code here : https://www.dropbox.com/sh/ey47q18i6vvp3cw/AADwVSJCd5EpudDhtwlJlS5ia?dl=0 thank you very much
  • Jquery selectable as table not returning ID

    Alert(id) is returning nothing when used in a table. When I use jquery selectable on "OL" tag it returns the id of the "li", when I change the "ol selectable" to "table selectable", it starts showing empty in the alert message. Do I need to anything different when using table with a jquery UI selectable versus "ol" . Please suggest. $("#selectable").selectable({ selected: function (event, ui) { var id = $(ui.selected).attr("id"); var color = $(ui.selected).css("border-color"); alert(id); } });
  • 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