• Validation Plugin

    Hello, im trying to use the Validation plugin, and everything is going well, my problem is that in case that when a input is valid, it automatic applies the "valid" css class to the field, and this class is already used for another purposes in my application. i just dont want to do anything in case the field is valid. how can i change this behavior? Thanks
  • Getting the Element ID of the "Selected" item in a list

    I have a bunch of DIVs (not an <option> List) each of the class "SongListItem". For one of the DIVs at a time, I set a "Selected" attribute, so it sort of acts like a ListBox. So two rows in the list might look like:       <div id="Item1" class="SongListItem">Item 1 Text</div>       <div id="Item2" Selected="True" class="SongListItem">Item 2 Text</div>   Now I want to write a jQuery function which gets the ID of the SongListItem div that has Selected="True".   So far, I have tried:         var SongID=
  • Problem with Tabs creating a layout issue

    Hi, I'm creating a layout that resembles a development IDE for a specific use and i have a layout problem when i activate tabs in one of the components. I tried different layouts: div-table, table, absolute positionning, and only the div-table layout shows this problem. Here are the links to the activated and non-activated tab widgets on the div-table layout: http://labs.xlsoft.ca/index2.html http://labs.xlsoft.ca/index3.html You will see in index2 that the tabs are deactivated and that the columns
  • newbie - no css on page 2 - script not working on second page

    I have seen the same question throughout the forum, but never see a solution? I copied the jQuery mobile example, have a simple page 1 with a list and page 2 with another list.  the transition from page 1 to page 2 works (with the hash), but page 2 has no mobile styling and no back button? http://www.elubin.com/jqMobile/sample1.html  (click the first link in the list) Thanks!
  • Fading in a (timed out) div

    Hi there, I'm fairly new to using jQuery so this question could be pretty lame. I'm looking voor the right syntax to fade in a div. So far I only found syntaxes that deal with button actions but I just want to fade in the div after a few seconds. How do I set that up? Switch off visibility with css and then? Tia.
  • jQuery API XML - how is it maintained?

    Hi guys, I've looked at the VSDOC generator which uses http://api.jquery.com/api/, wihich returns a big XML document for the API documentation. I'm wondering , how is this maintained? How do you ensure it is in sync with the source code? Whenever something changes in the code, does someone have to manually edit this XML?  Thank you
  • [Autocomplete] Problem Inserting Additional Data into the Query

    Hi Guys. I have an inputfield, where I start a autocomplete. The Data Comes from geonames. I also have an additional field, where I have sudden countries. Now i try to change the search parameter depending on this select field, that geonames only gives results of places in this country. Below you'll find my code and an example. I hope you understood, what i want. SIMPLY: Select a Country (e.g. France) -> Autocomplete (I will not find London, New York or Berlin, but Paris, Toulouse,...) Select a country
  • [jQuery] Beta Testers needed for Form Plugin file upload support

    I've added file upload support to the form plugin and I could use some help testing it out. If this feature interests you then go ahead and grab the beta plugin at: http://malsup.com/jquery/form/file/jquery.form.js File upload support is baked right into the plugin and there are no external dependencies. The plugin will automatically detect file input elements and use an iframe to submit the form if there are files to be uploaded. No extra coding or metadata is needed to take advantage of this new
  • finding keyboard connected to client system using jquery

    hi all i have a requirement in which i need to find out whether the system in which the web page is running has a keybroad or not. as it may also be used for touch screens. so my question is. is there a way to access user system information to detect whether it has a keyboard or not or is there any other way or logic by which we can find out the touch screen monitors( not smartphones).
  • Emergency Help About Nested Accordion

    I Used Nested Accordion In My Project  by Event Click , But I want Accordion Expand Only By Plus Gif Image and Collpase By minus Gif Image Only. No by Title click such As Tree Please Help me
  • Positiong element ouside the viewable area of the website

    let's say we have a div. it is visible all the time, it's not hidden, but let's say it's on the bottom of the page, so to see it we should scroll down the page. the Task to position a close button in that div. the Problem: .position doesn't position the close button where it should be if the div is not in the viewscope. but if it is, it's positioned correctly. <fieldset id="generatedCode" class="smallBlock textAreaField"><span class="tooltip-s ui-icon ui-icon-circle-close" id="clearCode" title="clear"></span>
  • Issue with jQuery: Background-Position Animation Plugin - error in IE8

    Hi When I attempt to use this plugin I get the infamous IE error "null or not an object" - full details follow... ------------------------------- Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET CLR 1.1.4322; .NET4.0C; Tablet PC 2.0; .NET4.0E) Timestamp: Sat, 27 Nov 2010 12:38:34 UTC Message: '1' is null or not
  • reading out an xml (working) and returning the value as a string (not working yet)

    For a site I'm working on I have a function that reads out an xml and needs to respond if an item starts with "MUZ ". Currently I have this snippet of code: function itemCode() {       $.ajax({             type: "GET",             url: "http://ican'tsharethisurl.so/sorry.xml",             dataType: "xml",             success: function(xml) {                   // I create a variable that holds the (unique) id                   var itemcode = $(xml).find('Current itemCode'); // I create a variable
  • Conflict between Cluetip and jdMenu

    First off, I'm a noob, so, hopefully I won't offend anyone with my ignorance I am attempting to integrate both of these plugins into a single web page, but I seem to have some conflicts. When I  use the following script that is required for Cluetip,  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script>, it disables jdMenu. And when I use the functions.js javascript file that is required for jdMenu, it disables Cluetip. I think that going in
  • Scrolling a DIV smoothly

    hey guys, im trying to scroll a DIV with images inside based on the mouse position inside the DIV, but I'm not getting a smooth transition, it doesn't flow too well. What could I do to improve the movement? This is the page: http://iljamess.de/index_galerie.html
  • Accordion: function as parameter

    I'm trying to pass a dynamic value for the option active: of the accordion. Here is my code: $(document).ready(function() {     $( "#newsArticles" ).accordion({             autoHeight: false,             navigation: true,             collapsible: true,             active: function(){return parseInt($(document).getUrlParam("newsID"));}     }); });I'm calling the page with mywebsite.com/the-news-section/?newsID=4 parseInt($(document).getUrlParam("newsID")) is equal to 4, or "4" without the parseInt()
  • input ip address control

    Hello, i have developed my first plugin and i would like some comments please. thank http://code.google.com/p/jquery-input-ip-address-control/
  • Datepicker formatDate can't handle predefined standard date formats

    At http://docs.jquery.com/UI/Datepicker#option-dateFormat I've read that formats are avaiable from "For a full list of the possible formats see the formatDate function." There are predefined standard date formats like ATOM, or W3C ... If I set W3C the script handles it like it's a literal text. I didn't expect that. Here is my code, using jquery 1.4.4, jquery ui 1.8.6, livequery plugin 1.1.1 $( "#productionInterval" ).livequery(function() {     var dates = $( "#productionStart, #productionEnd" ).datepicker({
  • dialog close problem

    hi all, I have an HTML page with a clickable object that performs an AJAX call. This call returns an XML object, in which one tag contains a string of JS commands, executed in turn by a setTimeout call with 100msec of delay. The JS functions are, obviously, highly dependant on which file gets called by AJAX (it's not the same file everytime) Now to the problem at hand: The clickable object call opens a dialog, populated from the AJAX call, in which other clickable objects are present, which in turn
  • getJson and iPhone4 issue

    I am in the middle of building this website for mobile/iphone well everything seemed to be going all ok, built a page using json data using the getJson function all ok on my 3G iphone, but when viewed on my colleague iphone 4, the code did not show? There was no error nothing just did not run the code within the getJson function. MY CODE:       //-- this log will show on both iphone 3G and 4 console.log('begin json ');       //-- the log and code within will not show in iphone4 safari mobile but
  • radiobutton check

    hi i have an asp.net radiobutton control and want to get the selected value in jquery the control is coded as this <asp:RadioButton ID="radFree" runat="server" GroupName="deliveryoptions" />                                             <p><span class="selection-free">(FREE)</span> First Class Recorded (1-3 Business Days)</p>                                             <br class="clear" />                                             <asp:RadioButton ID="radSpecial" runat="server" GroupName="deliveryoptions"
  • jquery hide show diviions in asp.net

    hi all, i've one problem with the jquery i am hiding a <div> using style=display:none; and when i clicked a button whose id is lnkbtnUnitAdd, i want to show the above div but i've written some code on OnClick event of the button, since the below function is returning false, i am not able to execute the code on server side, can anyone tell me how to execute the both functions, when i set the return =true; the div tag is not clearly seen and more over it just showing up and closing (like toggle) I've
  • How to add meta tag programatically?

    Hi, I want to add a <meta ...> tag on an mobileinit event. this is because i want to take advantage of Fullscreen mode for iPhone/iPod. but this meta should not be render if the device is not an iPhone/iPod. is their a way to do this? thanks...
  • Thickbox 3.1 and ie6

    Hi,   I am using thickbox 3.1 to show external html pages. It works in every browsers, but in ie6 only its not showing the popup. If anyone knows the fix, please reply me asappp.. Its urgent. thanks in advance.
  • ie6 problem with thickbox 3.1

    Hi,   I am using thickbox 3.1 to show external html pages. It works in every browsers, but in ie6 only its not showing the popup. If anyone knows the fix, please reply me asappp.. Its urgent. thanks in advance.
  • Do you know how to program SELECT dynamically?

    Hi, everyone. I have a problem. I could select the number when I clicked the SELECTED button using jQuery. But I couldn't select using jQuery mobile. <select id="s"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> <input type="text" id="t"> <input type="button" value="SELECTED" onclick="$('#s').val($('#t').val());"> When we add items to a listview, we have to call the refresh method. $('ul').listview('refresh'); jQuery mobile's select element is not
  • Unable to use multiple datepicker instances

    Hi, I've been unsuccessfully trying to get the datepicker to work on multiple instances on the same form. Head: <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>   <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>      <script>   $(document).ready(function() {     $("#datepicker").datepicker();   });
  • Multiple dialog issue Please Advise

    I am a front end developer, getting accustomed to javascript.  Wondering if someone can help me understand what is happening here and why it isn't working.  I have consulted the other pages I have found, and still need guidance, please help me javascript gurus Simple enough concept.  Works fine with only one dialog_link.  but once you add the second one, there is no activity(only testing in firefox at this point). <!DOCTYPE html> <html>     <head>         <meta http-equiv="Content-Type" content="text/html;
  • jquery does not work after navigating another page

    Hi, I am developing a project by using ASP.NET MVC 2 and Jquery Mobile. Everything is working fine but the problem is like that: I have an index.aspx and contains some links on it.my jquery codes are working fine in this page.I can evalute click function for textboxes or divs. When I navigate to another page "OtherPage.aspx" , nothing works overhere. But the tricky thing is , If I call the page  directly form my browser like "http://myserver/OtherPage.aspx", everything works again fine. I try the
  • How can I highlight lable in pligin validation

    Hi, I'm using jquery plugin "Validation" from "http://bassistance.de/jquery-plugins/jquery-plugin-validation/" is there a way to highlight lable also if there is any error in form submit. --Binay
  • Hide Div if Screen is Smaller than 1024

    hi there.. i want to hide a floating div if the user screen is < 1024 as it will overlay with my blog content area. i found this jquery on the net i am not sure how to use it. $(document).ready(function() { if ((screen.width>1024)) { // if screen size is 1025px wide or larger $(".yourClass").css('display', 'none'); // you can also use $(".yourClass").hide(); } elseif ((screen.width<=1024))  { // if screen size width is less than 1024px $(".yourClass").css('display', 'block'); // here you can also
  • Building Marquee element using jQuery

    Hello guys I wanted to wrap my rss feeds with Marquee element in order to make them move! But I wasn't ablr to do that :( The script is here: $(document).ready(function () {       $('span.marquee:first').before('<marquee>');       $('span.marquee:last').after('</marquee>'); });And the html code is here: <span class="marquee">First Subject</span> <span class="marquee">Second Subject</span>Thanks a lot in advance...
  • youtube gallery script with jquery question?

    hello, i've been combing the web for a good solution for a youtube video gallery of sorts. ideally i'd like to have something that functions similar to this http://galleria.aino.se/media/galleria/src/themes/classic/classic-demo.html in terms of having a bar of thumbnails that when clicked would load a new youtube video above. i also like how the gallery option above has arrows that allow you to view more thumbnails.  i also have thought about using a simple show hide that would load all the videos
  • Lightbox for Dummies???

    Hello all, I'm a raw newbie trying to implement jquery Lightbox on a page.  I relied on psd2css to build most of my page, since I'm not a programmer or scripter and need all the help I can get. Psd2css takes a photoshop document and converts its layers - when they are named according to its specifications- into html and css, in this case into a lightbox gallery. I ran into a problem because I assumed that I could add in a couple "place holder" layers where I could later add thumbs and a lightbox
  • how to window.location.href parameter from the <select> field

    I've got code, but it doesn't href's (redirects) user after changing the <select> value; what I need to fix?: <script type="text/javascript">$(function(){$("select[name=\'goto\']").change(function(){$("#goto").window.location.href="'.URL.$uri.'/p".$("#goto").val();});});</script> <select id='goto'>... ---- what I want to open page (make redirect) and to do that I need to ADD to the LINK (http://domain.com/xxx/pVALUE_OF_SELECT) http://path-of-power.com/extreme-tiredness-feeling-tired,1
  • Events from a datepicker

    Hello,   My newest quest has been tough to get my hear around... I have not found a thread here to get me on the right path in my situation.   I have a single inline datepicker. I have it so the selected date will show in 3 DIV's. One for the day ("DD, d"), the other for the month ("MM"), and then the Year ("yy").   <script type="text/javascript">         $(document).ready(function () {         $( "#datepicker" ).datepicker({    onSelect: function(dateText, inst) { //formatDate Requires a new date
  • jquery flexigrid & javascript problem

    hey all, I am modifying the flexigrid to do on-the-fly search I came up to the line that activates the search, it was like this : $('input[name=q],select[name=qtype]',g.sDiv).keydown(function(e){ if(e.keyCode==13) g.doSearch()}); I removed the if(e.keyCode==13) condition to make it fetch the data with every keydown. problem is, it seems to fetch the old data. I have no idea why this is, I think it might be related to some jquery/flexigrid event that clears the list before it re-fetches information
  • Text Links Trapped, But Not Image Links

    I have an image wrapped inside a link tag. <a href="somepage.html"><img id="content" src="img/some.gif" /></a> I want this .click target to be the link: $('a').click(function(e){ Instead, the target returned is the image [HTMLImageElement]. I have tried using closest() and currentTarget: var url = (e.target).closest('a').href; var url = (e.currentTarget).closest('a').href; var url = (e.currentTarget).href; But they all still return the image, not the link. Any suggestions?
  • file chooser -- custom file input problem

    I am having a problem with the plugin "file chooser" a/k/a "custom file input". It works great except for one problem.  Perhaps there  is a work around or I am doing something wrong. The problem is that it triggers on  anchor tags on the page.  On the places it is suppose to work it works well.  It just works on places it should not work. I saved the demo file and pasted in <div class="tab_container"><p><a href="#tab3">test</a></p></div> and it triggered on that. There must be a way to make it more
  • problem with Autocomplete plus Javascript to change some <p> text

    I'm real new at this.  I have a 1 tier Autocomplete working (below), thanks to a tutorial from Jensbits.com. It autocompletes town names and adds the county from a MySQL database.  When I added some Javascript to change an instruction phrase based on the town selection, the Autocomplete stopped working and the JS change does not function either.  The JS is assembled from several other tutorials, but I must not have it correct.  Corrections would be appreciated.  Please be very specific because I
  • 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