[jQuery] [validate] error on IE
Hi, I can't use Validate plugin with IE. You can test it and see the code on http://finassurouest.mediacom87.com/devis-pour-entreprise.php Give me a help please. Thanks for your answered
[jQuery] Superfish keyboard access
Hello, I have a minor issue that i've 75% solved, it's just the last little bit that I'm stuck on & I hoped someone can help - I think I'm doing something simple wrongly. Basically, the drop down menus on my site work perfectly with javascript on. If I turn java off, the drop down menu still works fine with the mouse. However, with the tab function from the keyboard it doesn't show up..... ....BUT! - if I hover the mouse pointer over the "parent" (ie the item in the main menu under which the drop
[jQuery] Consider adding keyboard navigation to the tree
So it can be navigated with the keyboard.
[jQuery] AutoComplete
Hi Experts, I am trying to use jQuery get function to develop an autocomplete which will display suggestion as soon as users starts typing like this; <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<a href="http://www.w3.org/TR/html4/loose.dtd">http://www.w3.org/TR/html4/loose.dtd</a>"> <html> <head> <script src="<a href="http://code.jquery.com/jquery-latest.js">http://code.jquery.com/jquery-latest.js</a>"></script> <link rel="stylesheet" href="<a href="http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/main.css">http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/main.css</a>"
[jQuery] Dynamically generate file with jquery
I'm trying to see if it is possible to convert a table on a page to a csv and offer it to the user for download. Obviously I could grab the data and post it to the server for some aspx or php to revert it with the correct content type (or even do it all server side in the 1st place) but I am trying to figure out if there is a way to generate this all client side. The only bit I need to figure out is if it is possible to create a popup with the right headers so the browser treats it as a file download.
[jQuery] History/Remote - problem with jquery 1.3.1
The History/Remote plugin ( http://stilbuero.de/jquery/history/index.html ) works great with jquery 1.2.6 but not 1.3.1. The load part of the plugin works, but the history part is not working. Is there a fix or a more current plugin to accomplish the same function? Jim
[jQuery] add <li> to <ul>
Hi there, I am probably trying the most basic example and failed in my attemps so far. I would like to add new <li>´s to an existing <ul> with jQuery. What I am trying to do: in my script: ... $('#myList').append('<li>pleeeeease show up</li>'); ... in my HTML: ... <ul id="myList" title="someTitle" selected="true"> <li><a href="#internalLink">existing link</a></li> </ul> ... But although I ask really nicely, the new li will never show up. The "home" ul is found correctly by jQuery and I can output
[jQuery] Get Textbox-value and write to table-cell (<td></td>)
Hi guys, let's get straight to the problem. First, I have this "deal-post" table (actually <tbody> content is generated dynamically from PHP code, but I omitted it here and make it static for simplicity sake): <table width="500px" id="deal-post" border="1"> <thead> <tr valign="top" class="column-header"> <th width="35%">Posting</th> <th width="25%">Description</th> <th width="30%">Amount (Rp.)</th> <th width="10%">(%)</th> </tr>
[jQuery] is it possible to convert html data in json format?
Hi all, I am not a expert in jquery. Please let me know , Is it possible to covert html data in json format. If any one knows how to do this, please let me know . with Regards sure.
Zebra table - altering color
Hi, I have a table with many rows. With this script I'm adding a extra class to each odd <tr>: var tSelect = $("#mainContent table tr:odd"); tSelect.each(function(index) { $(this).addClass("stripe_dark"); }); Now I extended the <tr> with a hidden one for each row to hide details <tr/> <tr class="hidden"> <tr/> <tr class="hidden"> ... Unfortunately now all visible rows have the same color as the other one are hidden but in DOM. Is there a way to say "add class to every third element=?
[jQuery] JQuery selectur for XUL
Hey all, I'm trying to use JQuery under XULRunner to write a custom web based GUI - problem is, when I'm using the JQuery selector, it doesn't recognize the element subtype of the XUL DOM. I don't know if JQuery is designed or equipped for this kind of usage or not, but it seems to work fine with Mootools. (have not tried prototype). JQuery is preferred because there are already a number of web application already using it, there's an obvious long term benefit in using a unified JS framework across
[jQuery] jquery
Can You please remove me from jquery newsletter
[jQuery] Very simple question...
...what does eq as in .eq(2) stand for? It helps me to read jQuery in my head if I know what abbreviations really mean :-) Thanks
[jQuery] Order Items. Please help me. Thank You.
Hello, I am adding and removing a items from a list, using JQuery, which is rendered has follows: <ol id="ThemesList"> <li"> <input type="hidden" name="Themes[0].Subject" value="A" /> <input type="hidden" name="Themes[0].Levels" value="L1,L2" /> <input type="hidden" name="Themes[0].Description" value="Paper" /> </li> <li"> <input type="hidden" name="Themes[2].Subject" value="B" /> <input type="hidden" name="Themes[2].Levels" value="L1,L5" /> </li> <li"> <input type="hidden" name="Themes[5].Subject"
[JQuery] Cleaning the code
Hello!I have implemented a small function using jQuery. Unfortunately, I'm still a noob, and I have certainly written a code longer and more repetitive than it should be. I would therefore ask your help in order to simplify it and improve it. You can find what I have done at this address: http://www.flyareatest.altervista.org/p ... index.html The part of the code that I would like to improve is: jQuery(function($){ $(".toggler").click(function(){ $(".content").fadeToggle(); $(".content1").fadeOut("slow");
Flash Movie / Video Stops Playing on UI Tabs Switching
Hello, Please check this following link: http://www3.telus.net/test_site/tabs.html In Internet Explorer 6+, if you play the flash movie in the first tab, then switch to another tab, then go back to the first tab, the movie keeps on playing. In all other browsers I've tested (latest versions of FireFox, Safari, Chrome, Opera), the flash movie stops playing as soon as you switch to another tab. What am I doing wrong and is there a fix or workaround for this? I have to use UI Tabs because it has a caching
[jQuery] [validate] Checking for no errors
Hello, I am trying to find a hook into the validator component and get the current number of errors that still exist in the form as the user is correcting initially invalid elements. For example, $ ("#myform").validate().form() is called and two required textbox elements are left blank and reported as errors. The user then types a value into the first textbox and when this textbox loses focus I would like to know that there is still a total of 1 remaining error in the form. My goal here is to update
[jQuery] Announce: ScrollTo 1.4.1 and LocalScroll 1.2.7 Released!
Hi all I've released jquery.scrollTo 1.4.1[1] and jquery.localScroll 1.2.7 [2]. Both contain some nice enhancements and a fair amount of small features. Both old and new versions are compatible with jQuery 1.2.x and 1.3.x. jquery.scrollTo 1.4.1 implements synchronic animations by default (1.3 addition). It also now works on quirks mode, I tested on all major browsers, including Chrome, even for iframes. It is also now compatible with xml +xhtml pages (testing is appreciated). jquery.localScroll 1.2.7
[jQuery] add a 'class' to <a> tag based on page file name
Hi all, What I would like to do is add a 'selected' class to a list of navigation items based on if the href attribute of the link matches the current page. I know I could do this with php, but that's not an option for this particular item I'm working on. The code I have so far is this: The alert statements are just there, so I know that my variables are storing what I want. What I'm stuck on is the conditional statement at the end ------if (hrefs[i] == file) {$(this).addClass('selected');}------,
[jQuery] What do you recommend to generate UUID with jQuery ?
Hi all, What do you recommend to generate UUID with jQuery ? Thank you ! Alex
[jQuery] [autocomplete] linked input boxes not refreshing
I have two inputs using autocomplete. The second passes an extra parameter based on the value of first. However, the second input box will not be update it's local results when value of the first input box changes. I've tried clearing the cache and that doesn't seem to work. The best I can do is in the .result() function of the first box, I call .unautocomplete() on the second input and then immediately re- call .autocomplete() on the second input. This will properly update the contents of the second
[jQuery] Validate plugin with radio button in IE 6 & 7
Hi everyone, I have a problem with my validation on my form in IE (6 AND 7) This is a part of my form: <label for="boy" class="radio"><span>boy</span><input type="radio" id="boy" name="sex" value="boy" /></label> <label for="girl" id="radio_girl" class="radio"><span>girl</ span><input type="radio" id="girl" name="sex" value="girl" /></label> My Validation script: jQuery.validator.addMethod("defaultvalue", function(value, element) { return this.optional(element) || element.defaultValue !=
[jQuery] Only show 5 list item, hide the rest?
Hi. I have an unordered list like this one: <ul id="myList"> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <li>Item 4</li> <li>Item 5</li> <li>Item 6</li> <li>Item 7</li> <li>Item 8</li> <li>Item 9</li> <li>Item 10</li> </ul> I want to only show the 5 first items, and hide the rest. I have a link to toggle the hidden elements on and off: <a href="#" id="myList-toggle">Show the rest</a> I use the slideToggle(400) to slide the rest of the list in. Anyone? This is what I have now, it just toggles
[jQuery] onchange input
I have: <form method="post" action="/rejestracja"> <table> <input type="text" name="sf_guard_user[username]" id="sf_guard_user_username" /></td> <input type="submit" name="register" value="Zarejestruj" /> </form> <p id="information"> I would like after each change in input 'sf_guard_user_username' write something between <p id="information"> . What is wrong in my code below: $(document).ready(function() { $('#sf_guard_user_username').onchange(function() { $("#information").html("ddddd");
[jQuery] blur(). not working good enough
Hi all, I've set something up which runs at http://www.vliegendepijl.nl/pages/test/ As you can see it's an unordered list with some list items in it. If you doubleclick the list item the text in it is being replaced by a textfield with the same value in it. This works like it should, no problems. Now what I'd like to have is that as soon as the field is not focussed anymore (blur?) it's should go back to the text in the list item again only then with the updated info (assuming the textfield value
[jQuery] iframes and jquery
Hello, I have a couple of hidden divs with iframes linked to external sites using the "display:none" css tag. They are then revealed using a button. The problem is that the hidden divs load the iframe content even if the buttons are never clicked causing a very slow page load. Is there anyway using jquery to only load the Iframe only when the div is revealed? Any help would be appreciated. Thanks
[jQuery] Safari + triggerTab() = fail
Hello - I'm using Klaus' Tabs plugin (Version: 2.7.4) with jQuery 1.2.6, but the triggerTab() function just isn't working for me in Safari 3. No matter how I create Back and Next buttons or links, Safari instead tries to load a new page (e.g., http://mydomain.com/?#start) instead of switching tabs. Clicking the tab headers works as expected in Safari, and everything works properly in all other tested browsers. I've tried various methods to make these links work in Safari, such as: <input type="button"
[jQuery] making variable in [tooltip] plugin available to Shadowbox
Hi there, I am using the tooltip plugin successfully, though I have run into a problem in that I have another plugin, Shadowbox, that needs to access the title attributes that tooltip if blasting away. Is there any way to make the tooltip variable 'tooltipText' global such that I can call it from my Shadowbox plugin as well? Conceptually speaking, how can this be approached. Any recommendations on how to accomplish this? Thanks, Here is the page in question: http://www.pomona.edu/dev/web44.asp
[jQuery] Cleaning the code
Hello! I have implemented a small function using jQuery. Unfortunately, I'm still a noob, and I have certainly written a code longer and more repetitive than it could be. I would therefore ask you an help to simplify it and improve it. To simplify things better, you can find what I have done at this address: http://www.flyareatest.altervista.org/provafade/index.html The part of the code that i would like to improve is: jQuery(function($){ $(".toggler").click(function(){ $(".content").fadeToggle();
[jQuery] form plugin and file upload size
I seem to be capped at 7mb or so in file size. Nothing seems to really happen if I try and upload a file larger (smaller files work flawlessly) and ideas?
[jQuery] [cycle lite] stop after last image
hi there, since im not quite familiar to javascript and jquery, it's kinda hard stuff for me to figure out how the cycle lite plugin really advances to the next image. so i'm asking the guys that know what they're doing: how can i make the jquery cycle lite-plugin, found at http://malsup.com/jquery/cycle/lite/, stop after the last image has been loaded? i'm sure this is quite simple for people that know what the syntax is about. thanks :)
hover image preview - problems
I have a problem with an image preview that comes up when you hover over a thumbnail. I can change the distance between the preview and the cursor, but if a thumbnail is close to the side of the window, the preview cant fit and you only see part of it.. hope that makes sense... is there a way to make it so that if the preview doesnt fit, it will show up on the other side of the cursor? like when you right click nere the edge of the screen in Windows. or maybe just make it stop at the edge of the
[jQuery] retrieve value with JQuery
Hi. In one of my functions, I would like to test the value of a certain field with an id="zipCode". Here is my current code: function retrieveCityState() { if ($('#zipCode').value.length > 4) { ... } } This test doesn't seem to work. How do I correctly handle this using JQuery? Thanks.
[jQuery] Autocomplete Combobox
Dear folk, recently I found jQuery plug in that allows you to have a auto complete Combo box so you could have combo box and a auto complete functionality at the same time does anyone has a link . thanks I really appreciate it
[jQuery] How to prevent third-party CSS code override our CSS
I'm using sortable of jQuery UI! My elements such as UL tag, LI tag(sortable, dragable,..element) may put into many template! And each template have thier own CSS, so, that CSS override CSS of my LI tag Have anyway to clear all CSS apply on our element, then apply new CSS? Or i must use !important for all property to prevent overriding! Take a look on two URL: <a href="http://trademerchants.com/delnow/kurei/dnd//themes/hr/html/index.myTemplate.php">http://trademerchants.com/delnow/kurei/dnd//themes/hr/html/index.myTemplate.php</a>
[jQuery] Switching Content in same div
Hi, Product page would like to load different contents in same div For example : Red product and Blue product Default it loads red product and when u click on blueimage product image and discription should load in the same div. I hope I have conveyd my message clearly
Handling Multiple Effect Triggers going off forever...
Essentially I have an animation that lasts 1 second that goes off when someone mouses over my website logo. Now if I hover over and over the logo very quickly the animation is repeated over and over and over and over again until it catches up. Is there a way to cancel current animations of the logo that I can throw into the start of the animation?
[jQuery] jquery validate issues with IE
Hi, I'm sorry if this is a double post but I can't find the original one. I'm having problems with jquery-validation on IE. It's working fine in every other browser. This is the page: http://www.thecentroexperience.com/de/wellness/contest/28/ It should validate all the fields, but in IE it won't allow the form to be submitted, even after the inputs have been filled. Can anyone please check my code and see if I'm missing something? If you submit the form, please use "Test" and "test@test.com" as name
[jQuery] Drag - Drop - with Layers
Hello, I've been having a problem with the UI.draggable and UI.droppable functionality. I've set up my screen like the following : http://outer-empires.com/images/Screenshots/inGame-SpaceStationHome.jpg At the bottom of the screen you can see the "cargo" and "hanger" area, people can pick up their "resource" and move it from one area to the other. Now, all of the above works - however, when dragging from the left to the right, the cloned item slides underneath the background for the hanger. Both
[jQuery] SimpleModal error in IE7
Hi! I\'m using your great plugin, but I have a problem with IE7. The problem comes after closing de simplemodal, I then have to click twice in the button to open it again, because the first time there\'s the js error, wich says: \"nodeType\" is null or not a object... It only happens with IE... what can I do? Thank you very much in advance! Ricardo
Next Page