• Why the button submit is not executed

    Hello, I use a modal window to display results of a query. However, the modal is displayed but I don't have results into this modal, because of the button submit which is not read by the program. I have tested my code without the instruction if (isset($_POST['submit'])) ... and the result is : all fields are displayed, like this my request has been executed but the conditions are not taken into account. my code : http://codeshare.io/zM6JA
  • How to capture events for dynamically created data-role=“collapsible”

    Could you please let me know how to capture the events for data-role="collapsible"   This is my fiddle  http://jsfiddle.net/5kbEE/18/ I have tried it this way      $('.my-collaspible').on('collapsibleexpand', function() {             alert('herere');     }); How ever i observed that the above event is working fine in case the data-role="collapsible" is static one (http://jsfiddle.net/5kbEE/19/). Could you please let me know how to make it work if it created dynamically
  • pass the php value to the jquerry

    Hi All  I Have the php code in the same web page with js how can i pass the php value to the jquerry <?php $SITE = array(); $SITE['time'] = 10000; $SITE['path'] = './mydata/todayyest/temp.php '; ?> setInterval(function () {         tempTable.ajax.url('./mydata/todayyest/temp.php').load();             }, 10000);
  • set that button label programmatically with jQuery

    I use dialog with the help of some jentlemen here. I added a button and I attach its html representation from Inspect Element. There is no label on the button but if I manipulate and add it manually (as seen here:DIPLAYED TEXT) it appears on the button My question: How do I set that label programmatically with jQuery? Regards I. Sher <button type="button" text="Get" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false"><span class="ui-button-text"></span>DIPLAYED
  • Jquery Lens Slider

    Hello Guys, I  am new to Jquery development. I have created a Jquery Plugin. www.jquerylenslider.com. Its a  free, please have a look into it and let me know your feedback and suggestion.  Thanks Mohammed
  • sharepoint select

    Sharepoint select is generating a select like below <select id="Vehicle_x0020_Registration_x0020_ecd4a357-d82d-4697-9173-4c98365d986a_$LookupField" title="Vehicle Registration Number 1"> <option selected="selected" value="0">(None)</option> <option value="4">00D37860</option> <option value="2">BT11WGN</option> <option value="3">BU14FJN</option> <option value="1">PO63VNC</option> </select> I tried using JQ like below but it doesn't work. Shortening select id does work. $('select#Vehicle_x0020_Registration_x0020_ecd4a357-d82d-4697-9173-4c98365d986a_$LookupField').find('option').each(function()
  • How to Limit The Range of Date Picker to Only One year (For ex 2015)

    Can some one please let me know how I can force jQuery UI Data Picker to loop only in one specific year months? I only would like to enable users select dates from Jan 1 , 2015 until end of year and again if they click on month changing button the Calende starts over from Jan First? I already tried thses  $('#example1').datepicker({                   maxDate: new Date(2015, 11, 31)                 });                   $('#example1').datepicker({                    yearRange: new Date().getFullYear()
  • Is there a website where I can pay for the development of a plugin?

    Thanks for your advice
  • Accordion and function parameters

    If one desires "Collapse content", then use "collapsible: true If one desires "No auto height", then use heightStyle: "content" What if one desires to use both? I've tried several configurations like this example <script> $(function() { $( "#accordion" ).accordion({ heightStyle: "content"       collapsible: true }); }); </script> and it always fails. IS this just impossible or is the fix really simple. I sure could use some parameter help. Thanks
  • Wait for transition to finish

    I am trying to wait for transition to finish before calling a function that shows a title: $('#imagepackwrapper div[id^="packimgdiv"] img').on('doubletap click', function() { // newtitle == "#packtitlediv1" $('#imagepackwrapper div[id^="packimgdiv"] img').not(this).slideUp(600);  // Hide other images     function myshow(newtitle) {  // Show the title       $(newtitle).css({'margin-left': toffset + 'px','width': twd + 'px'});       console.log('Opacity: ' + $(newtitle).css('opacity'));       $(newtitle).animate({
  • JQUERY infinite Slider with variable size of images, previous and next button

    PLEASE, help me.. How to create an infinitive slider with different width of imgs, like this EXAMPLE WITH PLUGIN,OR LIKE THIS but without any plugin.. I would like to learn and not put plugin without understand. THANK YOU SO MUCH.. $(document).ready(function() { enter code here });
  • Panel doesn't work on jQuery Mobile app with limited width for pc viewing

    I would like to make my mobile app look the same on a pc as on mobile. So in theory it's basically enough to make the width smaller. Here's what I found on stackoverflow and used: <style> html { background-color: #333; } @media only screen and (min-width: 600px){ .ui-page { width: 600px !important; margin: 0 auto !important; position: relative !important; border-right: 5px #666 outset !important; border-left: 5px #666 outset !important; } } .ui-header {width: 600px !important; margin: 0 auto !important;}
  • Concatenation Error in Jquery

    Hi following is a working code. var j=1; $('.btn').click(function (e) { e.preventDefault(); dyntable = ""; j += 1; count += 8; dyntable += '<tr id=' + j + '>'; for (i = i; i <= count; i++) { dyntable += '<td><input width="70px;" class="cp" type="text" id="textbox' + i + '" /></td>'; }
  • why is $.support being populated in transit.js

    hey guys , good day , have a look at the below function ::    for (var key in support) {     if (support.hasOwnProperty(key) && typeof $.support[key] === 'undefined') {       $.support[key] = support[key];     }   } i see the for in loop being used and the $.support method in jQuery being populated with more properties. WHY ?  I fund the above function here . 
  • Autocomplete with addtional parameters

    Dear Sir In a registration form Auto complete is working fine http://marathepratishthan.org/register.php  I am accepting First Name * After this I am accepting following 3 fields  Father's Name  Auto Suggest based on name accepted-Name+ value entered Grand Father's Name Auto Suggest based on name accepted Name, Father's Name + value entered Great Grand Father's Name Auto Suggest based on name accepted Name, Father's Name, Grand Father's Name + value entered  For each auto complete I am using following
  • Multiple same name class on form, only one item need to be populated via an ajax query

    I have multiple same name class on form, only one item need to be populated via an ajax query Need to select an item in a dropdown and do a ajax query and return the price associated with that item and size in the row that was previously selected Example: <select class="size" id="size">    <option value="12">"500g"</option>    <option value="14">"Bag 400g-500g"</option> </select> Need value 14 $('.size').change(function ()         {             var size = $(this).parent().parent().text();   // problem
  • Very new to this an need help

    I am supposed to put the following in my html page  <link rel = "stylesheet" href = "jquery-ui.min.css" > <script src="external/jquery/jquery.js"></script> <script src="jquery-ui.min.js"></script> I am supposed to find this in the index.html page however all I can find is the stylesheet? Anyone know what I could be missing? Thanks,
  • JQuery Problem

    Hello - I'm a beginner web developer and trying to use JQuery but always seem to run into problems. Does anyone know why my jquery news ticker is not working please? http://www.jameswinfield.co.uk/v2.html#3 Probably something simple I've missed. These were the original instructions - http://www.jquerynewsticker.com/2 Thanks James
  • How to forward the request after success of ajax request ?

    I have this code: $("#ajaxform").submit(function(e){ var info = $(this).serialize();    $.ajax(    {        url : "ctrl1",        type: "post",        data : info,        success:function(data, textStatus, jqXHR)         {              $('.valid-error').html(data);         if(data == "success"){                 $.get("ctrl2", info);               }        }    });    e.preventDefault()    });   $(".submit").click(function(){       $("#ajaxform").submit();     }); I am trying to make get request to
  • how to control the load speed of pace.js and also how to hide content of the page when loader is running ?

    hey guys i was just trying to use pace.js to add a page pre-loader , and basically the way this plugin works is that , you just add the  pace.js file to your page and add any css theme that pace.js provides , see here .  now i did this , but my problem is , nowhere in the plugin docs have they specified how to control the load timing for the plugin , now , how do i actually control the load timing for the preloader plugin ?  see fiddle .  the doc says the following about this plugin ::  =========================================================================
  • Any way to find size in inches of a user screen - mobile, tablet, or laptop>

    Is there a way in jquery to get the size in inches of a user's screen?  I know about screen.height and screen.width, but they give the dimensions in pixels, and I'm not sure that I can always assume a conversion of factor of 96 pixels per inch on every device - mobile, tablet, and laptop. Thanks.
  • Summary Grid

    Hi I have a beginner question ! i want create a grid to show products , prices and calculate total. User can remove rows or add rows from another dropdowncontrol. Someone can help me start the right way? (need tutorial, example, etc). Its possible with standard widgets? thank you very much
  • How to submit a form with jquery-ajax and update input on the form?

    How to submit this form with jquery-ajax and update ? In my servlet I can put some message as request's atribute or mb is better to put this massage to the response? How to update the <p class = "valid-error" >  with jstl or with success function of ajax? This is my code: $(document).ready(function() { $("#mainbutton").click(function() { $("#ajaxform").submit(function(e) { console.log("before"); $.ajax({ url: "userctrl", type: "post", data: $(this).serializeArray(), success: function(data, textStatus,
  • Vertical Dot Navigation

    I am working on a vertical dot navigation and have been able to have the hover label work, as well as navigating to the different sections on click. Where I am struggling, is having the active dot show when scrolling through the continuous page sections. Currently, when I start the scroll, all the dot navigations fill in, rather than just the one dot nav that is connected to the section. I have tried using  $('this').addClass('active'); but as you can see, it still does not address the issue.  Here
  • Stupidtable

    Hi I wonder if someone can help please? I have successfully installed stupid table and it sorts when the head of each table is clicked. However I would like the table to sort when loaded on the 10th column ("Points"). Please find the code below and the suggested code below that. Does this code have to be in separate <scripts>   or contained, I have tried several combinations without successes.  <title>Stupid jQuery table sort</title>   <script src="jquery-2.1.4.js"></script>    <script src="stupidtable.js"></script>
  • RESTFul API WebGet attribute methods which defined as void working successfully in JQuery 1.6.4 but throwing exception in JQuery 2.1.3

    Hi All, I am facing a critical problem in my project which is mentioned below: New version of JQuery 2.1.3 doesn’t support RESTFul API WebGet attribute methods which had been defined as void, as a result it was throwing the exception. Only GET( HTTPVerbs) method successfully running when we defined as with return value.  Even I tried with RESTFul API WebInvoke and in this case also latest version of JQuery 2.1.3 could not able to execute those   GET(HTTPVerbs) method Which had been defined as void.
  • Why I cannot get action from ajax post request

    Here is my code:     $(document).ready(function(){     $("#mainbutton").click(function(){     $("#ajaxform").submit(function(e)     {        $.ajax(        {         action : "mainbutton",            url : "userctrl",            type: "post",            data : $(this).serializeArray(),            success:function(data, textStatus, jqXHR)             {             alert("success");            },            error: function(jqXHR, textStatus, errorThrown)             {                alert("error"); 
  • How to add iframe as “content” in the JQUERY ModelN/sDashboard

    I would like to add an iframe as content in many of the dashboards like: { widgetTitle : "Lady gaga tweets", widgetId : "tweet123", widgetContent : "<iframe id='I10' name='I10' src='newevents.asp'>" } I know I need to define this in the jquery code above and have tried several things but no go. Any help will be appreciated. Information is located here for ModelN/sDashboard:github.com/modeln/sDashboard  
  • #anchor doesn't work in IE

    I am using window.location.href to direct my page to an #anchor point on my webpage but it doesn't work within IE. How can I get this working. window.location.href = '#song4';
  • Bar Indicator - a new jQuery plugin

       BarIndicator ( link ) Hello to all jQuery enthusiasts! I am please to announce the release of a new jQuery plugin, called BarIndicator. BarIndicator  is a jQuery plugin that helps you visualize numeric data (percentage or absolute numbers) in to bars. Please feel free to check the plugin page , also visit the GitHub repository
  • understanding design pattern of a jquery gallery plugin

    hey guys i was just going through the code of a gallery plugin and i have been on this for a few hours now , basiclly the plugin has the following code structure , have a look : (function( $, undefined ) {     /*      * Gallery object.      */     $.Gallery               = function( options, element ) {             this.$el    = $( element );         this._init( options );     };     $.Gallery.defaults      = {         current     : 0,             autoplay    : false,         interval    : 2000  
  • use jQuery UI dargable

    I use the dargable JQuery UI, encountered a problem. My browser is Google browser, the page is a scroll bar. I drag it. If the scroll bar is greater than zero, the position and the mouse position of the drag element can be offset. English is not very good, please forgive me           This is the wrong picture..               This is the right picture..
  • Preload images event --> Problem with multiple

    Hello everybody! I have script which is preloading chosen image and after finish can make some event. But preloading is working only for one image..     var $src1 = $('#image').data('src1');         $('<img>').attr('src', $src1).load(function() {         $(this).remove();         $('#loading').hide();         $('body').append('<img src="' + $src1 + '" width="200"">');     }); If I create another var (for example to take data from src2 ), and put it to function like this:    $('<img>').attr(src: $src1,
  • Search Multiple Webpage URL and Display as HTML

    Hi,  I am normally not a back-end programmer (that's why I can't really understand programming stuff), but I am requested to develop an ios mobile app using jQuery Mobile. WIll truly appreciate it if some kind souls are willing to help me out! I am currently doing a search function, in which user should type a keyword, and the jquery script should search through 60+ url pages (pages written in .aspx, only can run using intranet) in one go and return links which contains the keyword in it. When the
  • How can i check whether the website is already opened, if opened redirect to that tab

    Tried this? var win = window.open('http://google.com', 'tab'); if (win) { win.focus(); }
  • Jqgrid edit inline mvc Controller only get a value of cell eddited, And i need all data of row. Help!

    Hi, I've a .net project with mvc and jqgrid. I use a edit in line in a jqgrid and i use a editurl to call to ActionResult class(Controller) like this:    public ActionResult SaveManyGrid(string Id, string DateCreated, string DateExpired) Everything works fine, but the ActionResult only receive the value from the cell was editing.  If i edit the DateCreated, DateExpired value is empty o null. When all has values. I need get all values, because the value of DateExpired depend of DateCreated value.
  • dialog box which contains just a title, an edit box and a submit botton

    I hope it's the right forum for my question... I need to popup a dialog box which contains just a title, an edit box and a submit botton.  Then I want to write programmatically to the edit box, write also manually and close it with the button. Is there some example to that? Thx I. Sher
  • jsTree

    so I have here a jsTree instance, which is working fine. I'm dynamically storing datasets (with jquery .attr() and .data() ) in the list items, the html set is precoded (no loading via ajax or whatever). the structure looks like this: <ul> <li>Node1 <ul> <li>Node2 <ul> <li data-material-id="bpch1u1">Leaf 1</li> <li data-material-id="bpch1u2">Leaf 2</li> </ul> </li> </ul> </li> <button type="button" class="btn btn-primary" onclick="openMaterial($(this))">Open Material now</button> while listening
  • JQuery Array in Ajax post seems to serialise and appear as one element in controller list/array

    Hi, I have an array in JQuery which holds the Id & value of attributes I need to pass to the MVC controller. The array seems to populate correctly in Jquery and the ajax post to the controller works too. However, the value being passed back to the controller appears as a flat single element in the controller array (i.e. all array values are flattened into 1 sequential string value). Here is the jquery:         var attListArray = new Array();         table.find('tr').each(function (i, el) {            
  • Version of jQuery UI based on jquery-1.10.2.

    I have jQuery version jquery-1.10.2.js and what version of JQuery UI should I use? Please remember that user you use my website, they use old version of web browser. Thanks!
  • 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