• jQuery plug in popup

    Hi All, I current used jquery plug in SImple Model (http://www.ericmmartin.com/projects/simplemodal/) to do a popup windows, where it is iframe from an .NET aspx page. inside the popup windows, I have few checkbox controls and have validation on buttons click. however I encounter 1 issue where if the user close the popup windows, there is no validation take place. is there possible to make the validation on windows close? else a simple confirmation notification to inform user that their data is not
  • jquery and php problem

    hello everybody,  sorry but i'm spanish and i don't speak english a lot, i have a little knowledge in web development´ i'm working in a web application with jquery but i have a problem  in a part of my application the admin of the web can delete a member wich is registered in the application, for each member of the list has a buton that if te admin clicks delete a member(using $.ajax) wich is save in a DB the code is the next: <?php for($n = 0; $n < $nMiembros; $n++){   ?>  <div id="member"> <table
  • Nested collapsible set into a collapsible set

    Hi! JQM team!  I first want to say that i had a lot of fun to use JQM framework! Thanks a lot! Usefull and easy to use! Very good work! I'll be glad if my problem contributes to your community. Here is my problem: I got a collapsible set (main menu). This one contains nested collapsible set (sub menu). When i expand an item of the main menu it works fine. Sub menus appears.  But when i want to expand a sub menu item it close all menus items bringing us back to main menu items. here is my code <div
  • Clear cache on external link

    Hello, Im currently working on a iphone + phonegap + jqmobile app. This app has external links to files like pdf. The problem i have is that if i press the pdf file it will load the file in a new windows. When i close the app and restart it again it will show the pdf again. Is there a way to clear the cache of jquery mobile? or is there a way to restart app when openening again? Thank you.
  • In the jquery mobile alpha 1.0a4.1, HTML 5 tags are not working in android

    Hi, I am using JQM 1.0a4.1 to develop android application. here i am using HTML 5 tags. In the web environment its working fine. In the android mobile, the validations are not working and <input type="file">, it shows Uploads disabled. I have 6 forms in my application. Please any body help me to use HTML 5 tags... .
  • Open dialog in other frame

    Hi, I'm a new user (of this forum and JQuery). I would like to know if it is possible to open a dialog window (JQueryUI) in another frame. I have a toolbar on a (header) frame and I need to open the window on the center (main) frame. Really thanks.
  • How do I change the href of a link?

    Hi, I am new to jquery and I am trying to create an image gallery from the 20 last images in posts in a Wordpress blog. So far my code works nicely to collect the images from the posts and make the external image gallery script work with them. What I want to do now is to get the permalinks for each post and wrap them around the image from that post. The way the page is coded in Wordpress now, the images are wrapped around a link to see the full size image and that is the way I want it to be in the
  • Datepicker in fixed DIV on the bottom of the page pops up out of the visible area of the page

    Hello! i have a Datepicker on an input field in fixed DIV on the bottom of the page. This pops up out of the visible area of the page when I have scrolled to the end of the page. How can I influence the positioning of the calendar? In the middle of the content: WORKS! When the page is at is end: DOESN'T WORK!! Can anyone help? Thank you
  • content dependant on url hash

    I have a page with a few links. when a link is clicked a div is populated with the relative content. what i need is if the url has a hash tag then the div will be populated with the relevant content on load. Is there anyway to do this?
  • Slider with multiple date range in one slider

    Hello, im trying to do something like employees vacation arrangement. There is 120+ employees vertically listed and i want to put slider near them for a year and mark their vacation times on that year with slider range. So i need more than 1 date range in 1 slider because there is vacation ranges in year more than 1 also that ranges can be moved with drag and drop middle of it. I can show the dates with tooltip while moving start and end position of slides. I know currently there is no function like
  • Changing a select menu with Jquery when radio is checked

    Hi i seem to be having a little problem with my code and was wondering is someone could point me in the right direction with it. What i am doing is if a radio button is selected it will show a different set of city names. My Jquery code is as follows :  $(function() { $( "#accordion" ).accordion({ collapsible: true }); $( "#citta_az" ).buttonset();                //Hide Monza e Brianza when page loads $("#MB_DIV").css("display","none"); // Click Function   $("#citta_az_mb").click(function(){ // If
  • Persistant Footer in Alpha 4

    Hi Guys, Currently I'm struggling with some issues on an persistant footer. I rewrote some of the css of jQuery mobile to implement a two column page for tablets. Works fine so far, but when i add data-id to my pages to make the footer persistant, i starts after the first page transition to add the style Top:0px. Can anybody tell me where to find this line of code? TIA cheers, Yoggl
  • slideUp() Problem in Safari Browser

    Hi, after domready i'm wraping some Elements and then i want to slide it up. But in Safari it doesn't work at this point (domready). It only works if hide() or if i'm not using the wrapped element. But in all other browsers (firefox, IE, etc.) it works. Yeah it also works in IE ;-) here's the code snippet $(el).find(config.crop.cropTag).wrapAll('<span class="' + config.crop.hiddenClass + '"></span>'); // the alerts works fine, so it will be found in safari but slideUp doesn't work // alert($(el).find('span.'
  • i need a combo box with images in it

    i need to show a list of items and its icon by the side .can i get a combobox wid images
  • jquery datepicker - disable weekends and specific dates

    I've been trying to follow similar posts and the solutions do not seem to work for me.  Any help would be appreciated.  I'm trying to disable weekends and specific dates.  I can't seem to get the beforeShowDay working.  In the example below I can get either the weekends or the specific dates disabled by calling either onDate: $.datepick.noWeekends or onDate:nationalDays (respectively) I'm using jQuery 1.4.4 Datepicker extensions for jQuery v4.0.5 var natDays = [[4, 15],[4, 28] ]; $(function() {    
  • Input adder

    Hi, I need some help with creating a script that adds the fields byclicking on the add link. My html code looks like this <table width="650" border="0" cellspacing="0" cellpadding="0">   <tr>     <td valign="top"><font><b>Product name</b></font></td>     <td valign="top"><font><b>Amount</b></font></td>     <td valign="top"><font><b>Price</b></font></td>   </tr>   <tr>     <td valign="top"><input type="text" name="input[1]name" size="45"></td>     <td valign="top"><input type="text" name="input[1]amount"
  • Is there a way to show the overflowed text on button press using jquery or any other way?

    Currently on the forum end of one of my sites, users like to create huge signatures. I would like them to have this option so I have used overflow to hide everything 150px and greater. On mousing over, the rest of the signature is displayed. This seems to annoy a lot of my members thou. Is there a way to show the overflowed text on button press using jquery or any other way? Edit: Another way to ask, a show/hide script that shows a max-height of 150px but on click shows the rest of the content.
  • Please help me stopping my menu from flashing on mouse over!

    Hello, I have recently started with wordpress. Knowing next to nothing about javascript and/ jquery, I have downloaded a theme that makes excellent use of these. However, recently my menu started flashing like crazy when mouse over. I'm sorry, I really am a newbie at this. The URL to my site is www.surreal-exposure.com And here is the specific code for that menu: function menu() { $('ul.menu li').hover(function() { $(this).not('ul.sub-menu li').find('a:eq(0)').stop().animate({ paddingLeft: '20px'},
  • fadein and out using delay for list of links

    I have this code <table border="0" cellpadding="0" cellspacing="0" width="100%">     <tr>         <td class="rnd-prd">             <a href="#link"><img src="IMG" border="0" /></a>             <a href="#link"><img src="IMG" border="0" /></a>             <a href="#link"><img src="IMG" border="0" /></a>         </td>         <td class="rnd-prd">             <a href="#link"><img src="IMG" border="0" /></a>             <a href="#link"><img src="IMG" border="0" /></a>             <a href="#link"><img src="IMG"
  • Desperate newbie needs a little help with GallerificPlus

    I've downloaded script from: http://www.mattgifford.co.uk/downloads/gallerificPlusV0.4.zip and I just want to make it little simpler.. The thing is that I want to call lightbox straight from the thumbnail, not from the bigger image on the right.. Thats it! Please, I hope someone can help me with that, as I'm getting really desperate..
  • 3 dropdown menus

    Okay. I got a little question about jquery. At this moment i am sitting on a recrutment-form for my world of warcraft guild. So, what i like to have is this: there are 3 selcte-menus. 1. class 2. primspec 3. secspec the first is enabled by default, so you can select your class. Number 2 and 3 are disabled at startup. So if a user had selected a class, the menu 2 and 3 are showing the talents for the selected class. example: 1. class => Mage 2. primspec => Fire, Frost, Arcane 3. secspec => Fire, Frost,
  • Why does my swipe code not trigger on Android 2.1?

    Hello, I am fairly new to jQuery Mobile. I have what I think is reasonable code for doing a "swipe" change on a page. It works on iPhone and on Android 2.2 ..... But for the life of me I cannot get this to trigger on 2.1 I can get the alert for the binds and such .. but no swipe alert........or rather....if I reload and swipe 10 times... it will work 10% of the time. Can anyone tell me why please? Thank you. <!DOCTYPE HTML> <html>   <head>     <meta name="viewport" content="user-scalable=no, width=device-width,
  • How to make fade in/out keep looping

    I have this code to fade in a button on hover and fade out . It works on the first hover but it stops and wont do it on a repeat hover. How can I make it continuous? here's the html: <a href="#" class="offerbutton"><span></span></a> here's the jquery: $(function() { $(".offerbutton") .find("span") .hide() .end() .hover(function() { $(this).find("span").stop().fadeIn(2000); }, function() { $(this).find("span").stop().fadeOut(2000); }); });
  • vclick generated on list drag in webOS

    When I click and drag a listView on webOS with phonegap to scroll down a list, if the drag is very quick (under a second), the 'click' and 'vclick' events are still generated.  I'm using the built-in webOS scene scroller for scrolling (which is handled by phonegap and webOS - I haven't touched it) I'm using  mylist.delegate('li', 'vclick', this.clickHandler); to listen for vlicks.   On the iPhone emulator, the vclicks are not generated on a drag to scroll a list.   Any ideas?  Thanks!
  • Already a Problem: Can't download JQuery 1.5.2

    Hi, This is my first post. I am on a Mac (OSX) and am having trouble downloading the jQuery Core download - it goes to a page and shows up in a script. I tried going in UI and downloaded (I think) the Core 1.5.1 not .2 and the UI of 1.8. How can I download 1.5.2? Thanks, NJ
  • Refresh div contents on click

    Hi all. I'm new of course. What my little page does here is show a random image in a specific div when a link is clicked. Now I want to have the contents of the revealed divs to refresh when I click on them so that a new random image populates. For example the "a" tag that you see in the whiteDie div would be clicked to refresh its content. I have no idea where to start. I know i'm i over my head here; i've been researching all day just to get as far as i have. Thanks.  <!DOCTYPE html PUBLIC "-//W3C//DTD
  • Refused to execute a JavaScript script. Source code of script found within request - JSONP

    Hi there, Could someone help me with the folllowing? This script works in Firefox but not Safari or Chrome. I believe it has something to do with the .append function. I get this message upon running the script: "Refused to execute a JavaScript script. Source code of script found within request " (jq14 = $) jq14.getJSON("http://area.crosbiedesign.co.nz/media/client/external/php/get_to_post.php?callback=?",           {             sendTo: "http://area.crosbiedesign.co.nz/area/brands/external",    
  • How can I put ICON's on my tab's

    I have used various icons on buttons - kind of like a visual cue as to what the button will display in the tab-set below.   Tab are created on the fly as buttons are clicked.   I would like the tab label itself to have the same icon as the button that "created" it.   But apparently the tab labels are too small for the icon causing the icon and the text of the tab to not align.   Is there are tried-and-trued way of accomplishing this?   I've attached what I tried to do and what it looks like.
  • JQuery HTML5 Local Storage

    Hi, Sorry to retread old ground, but are there any plans to make HTML5 Local Storage a part of the main JQuery library? I know there are some plugins people have made, but this seems like something that should be part of the main branch. Also, if there are no plans, what is the best plugin people have found to use?
  • Multiply two text box with jquery??

    Hello, I want to multiply two textbox value and put the result in third textbox. All the events are done on keyup event. Please help
  • Android WebViewClient onPageFinished not firing from changePage

    On jQuery Mobile 4.1a I have noticed that on android the onPageFinished() event is not firing if you change your current page with changePage() as opposed to a local link which does fire the event.  // doesn't fire onPageFinished() $.mobile.changePage("#home","pop",false,false); // does fire onPageFinished() <a data-role='button' href='#home' >Home</a> I've noticed this event not firing in android corresponds with a mess of stuff not working properly in the app, such as resize events, orientation,
  • Subpages not loading via AJAX in A4

    Hi there, i am currently developing a mobile webapp for my company. In A3 it all worked fine (except the collapsible scrolling problem which is solved now). In A4 i have a problem with the loading of the subpages. They are always loaded with a regular request, not via ajax. You can see my Test-Webapp here: http://mobile.mdx.itobe.de/go.to/modix/now/test.html On this Mainpage the whole html structure with the root/home page-container is delivered. The Subpages are only responsed with the specific
  • Newbie - Looking to make the switch.

    Hi Guys / Girls   Looking to make the switch from flash to jQuery as its the obvious direction of the web.   Currently our website (www.farmersofsalem.com) has a flash banner with another flash file loaded within itself once the page loads.  Below that is just a flash navigation.   The effects dont have to be perfectly identical, but I'm looking to do something similar or maybe even better.   Can anyone point me in the right direction?
  • Multiple JSON Sources and Timing in the Drupal Setting

    Hi, I've been really enjoying implementing this easy accordion script lately in my Drupal themes, due to its ease of use and modification. Typically, I use a Drupal Datasource view, which pulls content from the database and converts it into nicely clean JSON. However, I've run into some issues this time due to having multiple JSON sources. I can't seem to initiate accordion after all three sources have loaded. As a easyAccordion() gets called several times, jacking everything up. It's important for
  • Json IE problem

    I am using json to receive data. Now I have tested with all browsers, working fine except IE. In ie I am getting undefined null object error. can any one help me with this please? here is my code function exchangeIdentifier() {        $.getJSON('exchangedetail.php', {countryName:$('#countryName').val()}, function(data) {         var select = $('#exchange');         var options = select.attr('options');         $('option', select).remove();         $.each(data, function(index, array) {           
  • jQuery Auto Calculation based on Radio Buttons

    Hello Members, I am stuck on the last part of this jQuery auto-calculation script that I am working on. I want to automatically re-calculate the subtotal values based on a "radio button click". The calculation will automatically add a 10% discount when the radio button "special_(n)" "yes" value gets clicked, but revert back to normal price when the "no" value gets clicked. View the script in action here: http://www.ppleasysavings.com/calcscript/index.html (tip): enter a value into the 'qty' field,
  • detecting a browser's back button

    I'm sorry, I know (or think) this question is answered already on the board in a couple places - but I'm still new and I just can't wrap my head around this. I have a jquery-powered "start page" that checks your log in and if successfull it slides in a "menu" of new places to go. The problem is, if you click back from one of the new places, the original  "start page" looks as if you never logged in. You have to reload the page. Not very intuitive and this website is for kids. Now I've tried setting
  • Superfish sub-menu help!

    Hi, I'm trying to get my sub-menu to slide down UNDER the parent instead of to the right. Can this be done...how? Thanks so much!
  • Looking for a plug-in - div fade slide show/content fader + entire background

    Hi guys, I'm fairly new to jQuery and I've been looking for a plug-in that will let me fade between different background images on my site, but at the same time have something to let the user control which image they are looking at in a kind of content display. If that doesn't make sense, I basically want something very similar to the homepage of this website: http://www.kitbag.com/ Although a simple 1, 2, 3, 4... etc buttons would be fine instead of the little content box. I thinking this would
  • Validate a subset of fields at a time

    I have a form with a table of data that needs to be validated.  There are approximately 490 cells that are all required and must be numeric.  Yes, sadly enough, they are all required. When trying to validate in 1 pass, in IE I get a Long running script message, 3 times! which I am getting beat up about.  In Chrome it's lightning fast, in FF it's slow but not as back as IE. How can I validate a sub-set of the table, if no errors, so another sub-set and so on until all is validate with no errors?
  • 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