• how to make this regex insensitive

    I have been working with regex lately and this following code filters out 2 words perfectly but I can seem to make it case-insensitive  [RegularExpression("^((?!(Stupid|www)).)*$", ErrorMessage = "Invalid character")]That above filters out 2 words but if a user writes Www then it gets pass the regex, how can I correct that I have heard that maybe ?i will work but do not know where to put it in there; i'm new to this any help would be great.
  • 1.4.2 current page panel closes on previous page pagehide event

    I am migrating from JQuery mobile 1.3 to 1.4.2   We dynamically generate a panel as a menu on pagebeforeshow and open the panel automatically on a wide display to have less render time on pageshow. In 1.3.x this worked fine and the various examples around the internet work.   If the page is displayed directly then the panel is displayed correctly.   However if you navigate from one page to another you can see the menu for a second then it vanishes.   Tracking the issue back, this seems to be the
  • File Tree in wordpress theme option page

    http://www.abeautifulsite.net/blog/2008/03/jquery-file-tree/ Hi there, Do you know if I can use this to tell a user to select the location of their config.php file then have the script save the path into wordpress’s database? I just want the path without the config.php part. What I'm trying to do here is make it easy for someone to select where their forum is on the server. Also if you know of something that is newer and better, please let me know :) Thank-you
  • i want to stop this floating sidebar when it reaches header and footer....it must floats only in between header and footer but should not override it

    i tried like this...pls see this fiddle http://jsfiddle.net/ENFWJ/1/
  • event handled removed and replaced with Jquery.event.dispatch but how to use?

    Hello, I use used the undocumented and actually pretty awesome e.handled to temporarily fix the problem of an event over-firing.  The jQuery migrate plug-in just asks if $.event.dispatch exists, then give a warning.  Great.  But how does event.dispatch work, there doesn't seem to be any documentation it.  Is there any polyfill or shim to replace just that one piece without having to use the entire migrate plugin?
  • Accordion, snag with contents within a closed content panel

    Hi there, I have a jQuery accordion, two of the content panels contain jquery based banners (using flexslider). The first content panel, which is open when you open the page, works perfectly, but when you click to open the next panel with the jquery banner, it doesn't work BUT if you just re-size the window a tiny bit, automatically it starts working perfectly!!  Its as if on load, any jquery based elements within the closed panels are "dead", then for some reason it takes a window re-size to make
  • Show dots only on mouse hover ( Unslider slidershow)

    Im doing a slidershow with unslider and I already have the slideshow working, but now I´m trying to do show dots only on mouse hover but I´m having some problems. Can you give me a little help? My Html: <section id="banner-container">     <div class="banner">                  <ul>                     <li>                       <img class="t" src="images/test2.jpg"/>              </li>                          <li>                       <img class="t" src="images/test2.jpg"/>              </li>  
  • reverse counter

    How to write reverse counter code. i want my number count 100 to 0 (reverse count) Code: $({countNum: $('#counter').text()}).animate({countNum: 10}, {   duration: 10000,   easing:'linear',   step: function() {     $('#counter').text(Math.floor(this.countNum));   },   complete: function() {     window.location = "http://www.google.com";   } }); Thanks in advance
  • Jquery Tab not working in IE8

    Hi, I am trying to implement Jquery tabing in my project, however not able to figure why its not working in ie8, tabs just doesn't appear. i can see them in debug mode by inspecting the elements but they r not visible as per the sizing of the content in it. Attaching the screenshot of the same. Also it's working flawless in chrome & firefox...
  • How to remove or hide added rows in an HTML Table?

    Hi, i aked before how to insert dynamically HTML Table Rows under the current row. This works now. But now the next question: How can i hide or toggle these newely created rows on image klick?   regards Yavuz
  • Can use append but not prepend in a table td

    I try to use the prepend method in a td but I encounter problems My example is a visible window in a carrousel of thumbails I want to shift one position left or one position right.   In the first case it works shiftLeft : function(){ var lastNum = parseInt($(".navigation").children(":last").attr("alt")); var nextNum =lastNum+1; if(nextNum>this.nbSlide){ nextNum=1; } //remove the first thumbail $(".navigation").children(":first").remove(); //introduce a new thumbail at end console.log("introduce "+nextNum);
  • Migration from Titanium to JQuery Mobile

    Hi all, my company has released an application written with Titanium JS. Now we want to dismiss Titanium and write an application with intel xdk with jQuery mobile. Users who have the first app have the data stored via Ti.App.Properties. If I release the new app how can I read saved data? Also, someone has tryed it before? Thanks
  • How to make an online skin editor, graphic editior for a game

    Hello, I've been learning jQuery for some time now, however i'm still more of a newbie, than a pro. I want to make some cool feature for website i'm bulding, similar to this one (i mean working on the same rules as this one): http://minecraft.novaskin.me - it's a online skin editor for a game. I see that they used a jQuery to make this. Probably also PHP and Ajax (i know both of these technologies at the level to make standard, basics things). I just wondering how to make stuff like this?  How to
  • How can I clear/delete a variable?

    How can I clear/delete a variable in Jquery?
  • Converting my GET to jQuery style

    Greetings All ! I'm just getting started using jQuery, having had a brief class on it last week.  The class focused mostly on the broad variety of things you can do with jQuery, so Ajax was only part of that and didn't get a whole lot of time and attention. I am trying to take some Javascript I wrote a few weeks back.... complete with the old "createXMLHttp" routine and then a lengthy function with xhr.onreadystatechange .... and convert that over to jQuery. The GET string I'm wanting to send has
  • Cannot Figure this out this jquery function

     $(document).ready(function () {      for (var i=1;i <29; i++) {       $('.box').append(i+"");       }     }); its overlapping and trying to fit 1-28 inside one of my 28 boxes on every box why? Help appreciated im new to jquery.
  • Make jquery single page show webpages inline

    When I click the menu tabs i want the page to come in vertically. can any one help with this? http://clarissagriffin.com/bowling
  • Problem with JQuery UI Dialogs triggered from within a JScrollpane widget

    Hi all. I'm having a problem with a JScrollpane panel containing trigger links to JQuery UI Dialogs.  As anyone familiar with JScrollpane will probably know, the plugin uses JavaScript DOM manipulation to create two nested divs. There's an inner div with the class "jspPane" that comprises the scrolling element, and an outer container div with the class "jspContainer" that acts as a window through which the scrolling content is viewed. The overflow property of the inner "jspPane" div is set to "visible"
  • detect a word from a sentence

    hello,  how I can do with jquery to make the words of a sentence detectable in mouseOver and launch an event with a click like in the translation of google translate.
  • Istope,Shuffle()

    Can i implement Jquery plugin like  Istope,Shuffle() to my custom layout without using layout like masonry.
  • Submitting data to php via json

    Hi guys , I have been trying for days to get an answers , here is my problem I have a link : <a href="cart.php?id=2&rid=2&db=user" id="foobar"><img src="story.png"></a> I want to submit this link to a php page which will process the page . Below is the javascript that I am having a problem with :  $(".foobar").click(function () {                         $.ajax({                 type:'GET',                 url:'cart.php',                 success:function(data) {                     if(data=="Something")
  • Rewriting existing slidetoggle?

    Hi, I´ve got this function, but it didnt worked well for me: http://jsfiddle.net/DvG6H/21/ How can i rewrite the function, that when I click on a "level_1" "li", the "level_2" nav gets "visablity:visible", the div with the id "nav" gets the height of the child "level_2" ul and slides down. When I click on another "level_1" li, the div "nav" goes up again and the child "level_2" ul gets "visabilty:hidden" again. I tried it like that, but didnt work: var $topLevelItems = $("nav > li > a"); $topLevelItems.click(function(event)
  • Stop Sending Browser To Top When Auto Change Of Div

    When running the following jQuery code on my website, if your browser is not at the top of the page then, every time one div fades out and the next one fades in, it will send the browser back to the top of the page. What code do you need to insert to stop it doing this. I have tried 'return false' in most places but it either stops the script working or shows all the divs at once. $(document).ready(function slideShow () { var $divs = $("[id^=noticeboard]").hide(), current = 0; $divs.eq(0).show();
  • Need something between a header and a list divider - please advise

    Hi :) I have a page that contains a header and a footer navbar. I need to add a highlighted row with text in the center and two buttons to the left and right of the text. What would you recommend for this structure? I'm currently using a ul li list-divider but it's not working very well, especially after upgrading JQM to 1.4.1. thanks!
  • Pop up and pop in like gmail chat

    My need is as follows I have 4 different page I am including the 4 page in one html using jquery.load() I want to popup any of this window or all some time(means I want those in different page) consider as I am doing marketing analysis and I am having 4 display machine, one page will contain data one will contain chart, another will have data etc... I want to pop out the data and put it in one screen and pop out the chart and put it in another screen. I have did some work around and facing some problem,
  • How to debug javascript.????

     Hi I have added jarallax, and everything was working fine, but after few changes jarallax animation got stuck and now I have comment back everything and remove the codes but still things not working like before. this is the test link here I have added jarallax animation on blue div on screen which is showing output and screen resolution, I did my coding in animation.js in line no 180.
  • usage of IDs impossible?

    Hallo, Hallo, yesterday I used jQuery Mobile to enable my pages for swiping from one to another: http://www.ulrichbangert.de/orchid/spathoglottis-kimballina-hybr.php Works fine so far, but one issue is left: In my responsive menu (I include this using PHP include) I use IDs to address elements. Using firebug I learned that JM keeps all pages in different divs in the same PHP page. Thus it seems to me that the usage of IDs is impossible as these must be unique. Am I right? How to fix this problem?
  • Jquery multi criteria selector

    I need to write a query that selects any <tr> that has <td class="one"></td> and a <td class="two"></td> Please point me in the right direction. Thanks
  • Sequentially animating 1 div after another

    I have a moderate amount of experience with jQuery and have hit a snag, so any help is appreciated. I've have 3 divs that I added to the DOM, and I want to slide them into view sequentially.  I have a class on them called 'slide', and I've gotten this far: $(".slide").each(function(i) {       var hiddenLeft = $(this).outerWidth(true) * -1;       $(this).css("left", hiddenLeft + "px")             .removeClass("hidden")             .stop().animate({ left: "0px" }, 500, "easeInOutQuad"); } The "hidden"
  • can't get my JSONP to work with user script plugins

    I was about to write a little script for some site I visit that has info from IMDb and I want to get more info via rotten tomato API. here's the script: http://jsfiddle.net/7d4u6/2/ if you run it and check your console you should see an Object with lots of info about this movie. but if you tried to use this script via greasemonkey like plugins you'll get the following in the console: ReferenceError: Can't find variable: jQuery21008264088756404817_1394407688680   this is the random callback function
  • Rimuovere piu' righe selezionate tramite checkbox

    Salve a tutti ho bisogno di un aiuto enorme ! ho una ribrica strutturata in tabella dinamica e all'interno ho il tasto per cancellare ogni singola riga, ma vorrei anche rendere possibile l'eliminazione di piu' righe in base ai checkbox selezionati  di seguito vi scrivo il codice della pagina e del js : PAGINA HTML : <html>  <head>  <meta charset="utf-8"> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> <script type="text/javascript" src="jquery.js"></script>
  • Time counter

    im doing an online expieriment, where u click on a button to start, you pick a color and puts in your information, and sends the info.   in this , i need a timer, that starts when you press the button i made, and starts counting, that count is then able to get send with the form.  in other words, i need a way to count how long it takes for a person to press start and then send the form, and ofcourse i need the time to be send with the form to the server anything helps! 
  • Strange timestamp difference with jQuery.now()

    Hi; I get a strange phenomena i don't understand why! The first code : var time_now = jQuery.now(); localStorage.setItem("one_time", time_now); var time_store = localStorage.getItem("one_time"); var alert_string = time_now + ":" + time_store; alert(alert_string); return : 1394491226209:1394491226209 and after commenting the second line and waiting only 3 to 5 seconds, like so : var time_now = jQuery.now(); // localStorage.setItem("one_time", time_now); var time_store = localStorage.getItem("one_time");
  • Making My Code for Slider automatically show images without previous next buttons

    Here Below is the code: <script> $(document).ready( function($){ var slider = $('.slider').find('ul'); var transition = 2500; $( slider ).find('li.active').show(); window.slider = { previous: function(){ var current = $( slider ).find( 'li.active' ); var prevElement = $( current ).prev('li'); if( prevElement.length != 0 ){ $( current ).removeClass('active').fadeOut( transition ); $( prevElement ).addClass('active').fadeIn( transition ); } }, next: function(){ var current = $( slider ).find( 'li.active'
  • use jquery mobile only for certain devices/resolutions

    I am working on developing our company website.  I have it looking good on a desktop all the way down to an ipad mini resolution(~768px).  But now I want to get the site looking good on smaller tablets and cell phones.  I want to use jQuery Mobile for this.  But I don't want jQuery Mobile to change the look of my site above ~768px.  Is this possible?  Am I thinking about this all wrong? Thanks Mike
  • Passing info from selected row to input values

    I am using the following code to select a row in a table...     $('#timesheet').on('click', 'tbody tr', function( event ) {         $(oTable.fnSettings().aoData).each(function () {             $(this.nTr).removeClass('row_selected');         });         console.log($(event.target.parentNode));         $(event.target.parentNode).addClass('row_selected');         form_edit.ts_Project.value = aaData[$(this.nTr)]['ts_Project']; Once the row is selected I need to move the information from the row into
  • Jquery Lazy loading for huge data

    Hi All, I'm new to Jquery. My ajax call is returning 4000 records. When i'm trying to render that JSON, i'm facing some issue due to which the page is not being displayed. So, i though of using Lazy Loading, which will fetch 50 record at a stretch, when i want to see next 50, it will make a ajax call and fetch the next 50 records.  I was searching the net, but didnt find the complete code (Both server side & client side). Could any one help me out to sort this out. Thanks & Regards, Srini C
  • External Panel on multi page html is hidden by content

    I raised an issue here: https://github.com/jquery/jquery-mobile/issues/7208 I am using a multi page template and an external panel. When the browser accesses a subpage directly the panel appears but then is hidden by the content. How can I fix this?
  • How to add left and right navigation buttons to JQuery UI slider?

    I'm using this slider: http://webdeveloperplus.com/jquery/featured-content-slider-using-jquery-ui/#respond and I want to add left and right nav buttons to it, as far a JQuery goes I'm clueless. Can anyone help please?
  • Chained Ajax Calls

    OK i'm as noobie to all of this as a 3 year, but this is what i have so far... I successfully build a 1st page where i made 3 divs to receive ajaxs calls. i have the correct code to load the combobox that is getting the data from my db and put it into the 1st div that data is another combobox that gets the data from the ajax call... this is working right so far The problem : I need the 3rd combobox to make another call to get the final data and put it on the last div, but i cant get this to work....
  • 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