[jQuery] jquery form multiple php variables
Hi, I am trying to use the jquery form plugin and i have 3 form fields i need to go to php and come back and be inserted into a list. I am having trouble getting more than 1 php variable to return. here is the code example i am using $('#addLinks').ajaxForm({ // dataType identifies the expected content type of the server response dataType: 'json', // success identifies the function to invoke when the server response // has been received success: processJson }); function processJson(data) { // 'data'
[jQuery] jQuery validate error
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: [looks like i have to paste bin my code to let google post it 8| Please check this link: http://pastebin.com/m79705300 I've tried rolling jQuery back each version to 1.2.2 with it throwing the same error. Any ideas? Thanks! Sam
[jQuery] jQuery validate error
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){ // There is a bunch of other code here that inits animations on the page and stuff. $("#errorDiv").hide(); $("#submitGame").validate({ rules: { "submitGame[creator]": {required: true}, "submitGame[gameTitle]": {required:
[jQuery] jQuery validate error
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){ // There is a bunch of other code here that inits animations on the page and stuff. $("#errorDiv").hide(); $("#submitGame").validate({ rules: { "submitGame[creator]": {required: true}, "submitGame[gameTitle]": {required:
[jQuery] jQuery validate error
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){ // There is a bunch of other code here that inits animations on the page and stuff. $("#errorDiv").hide(); $("#submitGame").validate({ rules: { "submitGame[creator]": {required: true}, "submitGame[gameTitle]": {required:
[jQuery] Sandisk 4gb MicroSd $20.90 and SanDisk 2gb M2 $18.99 www.memstop.com
Go to ==> www.memstop.com SanDisk 4gb MicroSD High Capacity (MicroSDHC) Card + Free SD Card Adapter +Free Shipping = $20.90 (Apply code: july08 and get $1 off when using Google Checkout) SanDisk 2gb Memory Stick Micro (M2) Card + Free (ProDuo Adapter) + Free Shipping = $18.99 (Apply code: july08 and get $1 off when using Google Checkout)
[jQuery] [validate] [metadata] jQuery validator conflicts with metadata
Problem: ===== It appears that jQuery validator plugin always assumes that metadata attached to an element is intended for use by the validator plugin, when metadata is attached to an element and validator plugin does not know what to do with it, it throws an error: TypeError: jQuery.validator.methods[b.method] has no properties Steps To Reproduce: ===== Use the validator plugin as normal, and create your validation rules using the format: $('#myform').validate({...}) Then, add any custom metadata
[jQuery] Controlling vidoe - Windows Media Player
I am toying with using jquery to display media. I have successfully used it to slideDown a div and show the <object></object> tag contained within the div. I have a couple of problems. 1) When the video is finished it just sits there. I would like it to slide back up and disappear. Is there a way to tell when the video is finished? 2) In IE the div that contains the object tag is hidden on document ready. Even though the video is hidden you can still hear the sound and it is obvious that it is still
[jQuery] Hover does not work with a#someID ... ?
Hi there. Ive got some strange thing here. HTML looks like this: <div id="presentation"> <div id="pnext"></div> <div id="pprev"></div> <div id="pthumbs"> <ul> <li>asdasdsw</li> <li>etc ... </li> </ul> </div> <div id="display">↓ display thumb list</div> </div> After "hovering" #display #pthumbs should slide down easly, but it does'nt happens. Here's JS: $('#display').hover(showPNavi, hidePNavi); function showPNavi()
[jQuery] newbie question about assigning a varialbe for use in a selector statement
I have a form with the following (there are about 20 of these; you can assume that the id value goes up to 706): <input id="686" class="add_image" type="button" value="add image"/> add image 2 and beneath it would like to have a form element that is normally hidden: <div class="add_image_content 686" >hello in add_image_content</div> Basically, I'd like to be able to access the e.targed.id and then use it in a selector to select div's that have 'add_image_content' and the associated id value. My
[jQuery] Need help on repositioning elements ect...
HI ok I am making a website. I am trying to make the css position property like left: and top setting ect variable. That means it can be set to any number. I plan to use javascript to grab the clients browsers setting and use some math formula to position the elements and also resize the element. I am have a hard time doing this. I want my website to be shown how it was supposed to be shown. I also looking for a math formula that would would make it proportional. Can I do this or is this not possible
[jQuery] SITE SUBMISSION: Identi.ca uses jQuery
Identi.ca is an open source micro-blogging service: <a href="http://identi.ca/">http://identi.ca/</a> See the FAQ for more info: <a href="http://identi.ca/doc/faq">http://identi.ca/doc/faq</a> The software that powers it is Laconica: <a href="http://laconi.ca/">http://laconi.ca/</a> - Richard Richard D. Worth <a href="http://rdworth.org/">http://rdworth.org/</a>
[jQuery] Can't seem to programmatically resize a jscrollpane
Have a look at my demo here: http://www.heynow.com/study/resizable_jscrollpane/ What am I doing wrong? /Jay
[jQuery] Parsing XML using jQuery
Hi, Some hours that I don't understand why this basic Xml parsing with JQuery doesn't work: $(document).ready(function() { var xml = '<?xml version="1.0" encoding="utf-8"?
[jQuery] Similar Plugins
I think JQUERY site should have a reporting system where users can post similar plugins. Like for accordion there are more than one plugin but users dont know that there might be a better one than the one s/he is visiting. So in the plugin page there should be a block or section where it should say similar plugins. That would be really great if implemented. Thanks.
[jQuery] Jquery AJAX data (querystring restriction)
Hi Guys, I have been using JQuery for quite some time now but I am now stuck with a problem. I have a form with multiple fields and in one of the field (comments) user can use it to provide huge comments (say more than 2500 characters). I dont know how to send this through JQuery since IE has a 2083 character restriction. Any suggestions are highly appreciated. Thanks, Raja
[jQuery] [validate] [metadata] jQuery validate apparently "monopolizes" metadata
PROBLEM: Attempting to use metadata plugin and validate plugin at the same time causes validate to assume all metadata is intended for validation. This breaks code where validation is used for other purposes, because validator throws an error when it tries to parse the custom non-validation- oriented metadata. "TypeError: jQuery.validator.methods[b.method] has no properties"
[jQuery] Superfish: strange behavior when including images in menu
I am using Superfish to build a dropdown toolbar that has image icons next to text for the menu items. When I use the images, the dropshadow on the sfHover ul gets covered up on the right side. Also the ul's right side jumps wider after it is initially displayed. See a demo of the problem here: http://www.dcarroll.com/toolbar.htm
[jQuery] Need Help Filtering Content
I am building a test site with jquery. The site lists links from several rss feeds. On the right side of the page there is a sources legend. I would like to be able to click a source and show only links from that source while the others hide. Then when I click a different source, those links appear, and the others hide. Each link has a ID of the source that it is associated with. I figured it would be easier to toggle them when they had a similar name. I can't get a handle on how to pass along what
[jQuery] code.jquery.com CDN fallback?
Hi there, Using code.jquery.com CDN is there any way to actually have a fallback to local file in case the system is down? Thanks in advance Regards DotnetShadow
[jQuery] How far scrolled down the page.
What jQuery or javascript code would get how far the window is scrolled down the page? I want to know if the current visitor is at the top of the page or how far they have scrolled down the page.
[jQuery] jqmodal and jquery ajax request on the same page problem
Hi, I use jqmodal window with with ajax content + ajaxText for 'waiting' html, and a dynamic div with form submit: function finishAjax(id, response) { $('#'+id).html(unescape(response)); $('#'+id).fadeIn(); } function SendcForm(){ $('#contactform').ajaxStart(function() { $(this).html("wait..."); }); $.post("/ajax/cform", { email: $('#email').val(), message: $ ('#message').val()}, function(response){ $('#contactform').fadeOut(); setTimeout("finishAjax('contactform', '"+escape(response)+"')", 400);
[jQuery] [autocomplete] - Problem with display after upgrading from 1.0 to 1.0.2
Hi All, I just updated the version I was using 1.0 of the jquery autocomplete to version 1.0.2. And right away one thing does not work the same for me. The display used to be a nice list with no scroll bars and would say More at the bottom with arrows. Now it comes up with both a horizontal and vertical scroll bars (looks way worse). Anyone know why or how to fix it? Thanks, -Roman
Loader like thickbox ?
Hi, I'm currently working on a project where I would like to initialize a DHTML loader pretty much like the thickbox plugin. Do you know if there is a simple jquery module that can do that or even if it s not jquery ? Thanks
[jQuery] [validate] completely resetForm
I have a hidden form, when someone clicks on another element it shows. If you just hit submit, it validates false, and shows the proper errors. All is well there. I have a close button in the form, it should close the form, and completely reset it. What's happening is, it resets the form data, removes the error messages but if you reopen the form, the validation is aggressive. Right as you tab onto an element it'll prompt you with error messages. "Field required" and whatnot. I need it to act as
[jQuery] Validating a form in a tab
<html> <body> Hello folks, I'm finding it difficult to get jquery.validate to work in a form that is within a tab. My code is: <tt>$("#editorbox").html(responseText).fadeIn(500); $("#editor > ul").tabs({selected: 1,fxFade: true, fxSpeed: "fast"}).bind('tabsload', function(e, ui) { var errors = $('div.errors'); $("#editor_form").validate(); }); </tt>This code throws no errors but also does not respond to deliberate validation errors entered into the input elements of the form and the
[jQuery] Validate and localization
Hi, I want to use the Validation plugin from bassistance.de and in particular the localization feature. Can someone provide me an example? I could of course detect the browser language settings and create my own objects encapsulating the localized strings too but it would be neat to use the existing feature. thanks in advance
[jQuery] [autocomplete] new matchContains option
I just wanted to toss out a new feature we added to our local copy. A little history... We are using the autocomplete for a country list (205 items). We got a lot of feedback from users that it was confusing to type "U" when looking for united states and have 50+ results show up because we had matchContains:true. My first thought was to tell them to remove matchContains, but the response was that it's good to have for when searching for countries like "Democratic Republic of Congo" which is the official
[jQuery] using jquery CDN and fallback system?
Hi there, (Sorry if this has been posted many times everytime I go to post it never shows up) I'm just wondering with code.jquery.com what fallback strategy do people use if it's down? Regards DotnetShadow
[jQuery] window focus blur flag
I'm working on a ajax-based application and have to know if a window is focused or not. When i try this in firefox or safari it works fine but when i try IE6 or IE7, the focus gets lost when clicking another element in the dom. My doctype is XHTML Transitional. My script: var focusFlag = 1; jQuery(window).bind("focus", function(event) { focusFlag = 1; }); jQuery(window).bind("blur", function(event) { focusFlag = 0; }); Does anyone know why this doesn't work for IE?
[jQuery] code.jquery.com CDN fallback?
Hi there, I was wondering what strategy people use when pointing to code.jquery.com if it is down etc? Is there any way to fallback to a local version? Regards DotnetShadow
[jQuery] JS not working
Hi Guys I am using JQuery and a rounded corners plugin to round the edges of my div IDs. I have an index page and use innerHTML to inject HTML into the index page. The problem is the HTML which is injected into the index page, the div tags which are supposed to become rounded remain unchanged. See code below: index.htm: [HTML]<head> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="jquery.corner.js"></script> <script type="text/javascript"> $(function()
[jQuery] How to know when you can't scroll any further
Thanking you guys in advance for any help/advice... How can I know that I've reached the bottom of a scrollable area in a div with an overflow? Thanks
[jQuery] Superfish Question
I was just wondering if there was any sort of workaround for the tiny 1px twitch that happens on the submenu items once the animation is complete. Thanks -- View this message in context: http://www.nabble.com/Superfish-Question-tp18409078s27240p18409078.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] How to access xml attribute values with Jquery?? ...that have a namespace. Ex = name:funny
I'm using this tutorial for xml consumption with jquery: http://www.webmonkey.com/tutorial/Easy_XML_Consumption_using_jQuery The tutorial includes this code example to find the value of the "post" attribute in the node "name": studentPost = $this.find("name").attr("post"); But... It doesn't work if a namespace is added. For example, this doesn't work: studentPost = $this.find("name:funny").attr("post"); Notice the ":funny" namespace above. The xml doc looks something like this: <name:funny post='ha
[jQuery] SITE SUBMISSION: Musician's Friend uses jQuery
I learned today that one of my favorite sites uses jQuery and was not on the list (so I've added it): <a href="http://musiciansfriend.com/">http://musiciansfriend.com/</a> Thanks to Allan Hill who works on the site and shares some reasons why he has found jQuery a good fit: <a href="http://dirtydiv.com/2008/07/10/javascript-frameworks-jquery/">http://dirtydiv.com/2008/07/10/javascript-frameworks-jquery/</a> - Richard Richard D. Worth <a href="http://rdworth.org/">http://rdworth.org/</a>
[jQuery] Square Brackets in Sortable Serialize
When I call $("#list").sortable("serialize") I get .... article[]=2&article[]=1 Why the square brackets? I've not seen this sort of style of query string before. -- Alan Gutierrez | alan@blogometer.com | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/
[jQuery] SITE SUBMISSION: GitHub uses jQuery
I just noticed that GitHub <a href="http://github.com/">http://github.com/</a> uses jQuery. I added it to the list <a href="http://docs.jquery.com/Sites_Using_jQuery">http://docs.jquery.com/Sites_Using_jQuery</a> - Richard Richard D. Worth <a href="http://rdworth.org/">http://rdworth.org/</a>
[jQuery] Some If/Then help
Hey all, I'm using Seamus Leahy's AddAClassNameAtRandomToAnElement.js (http:// moronicbajebus.com/2006/07/30/add-a-class-randomly-from-a-set/) to add a random class to a div, and then trying to insert an image based on the random class name. So if I have <div id="main" class="aa"> I'd like to say "if #main.aa, then insert image1.jpg; if #main.bb, then insert image2.jpg; etc. Just can't seem to get the syntax right. Or is there a better way to go about this? Any help is very much appreciated
[jQuery] Superfish 1.4.5 released - now with drop shadows!
Okay, so the drop shadows are not applied in IE6 or 7 - will continue to ponder workarounds there. Other than that, just a general clean-up and further optimisations of the code. Check out them drop shadows... are they not perdy? If you think "not" then you can disable them completely via the options object. http://users.tpg.com.au/j_birch/plugins/superfish/#examples The next feature I will be adding is "click main item to activate instead of hover". Joel Birch.
Next Page