Weird Question : jQuery Validation without Submit via Ajax
Hi friends, i wanna ask something a simple question, how to configure jQuery Validation, so when i click submit, it post without ajax SubmitHandler. jQuery Validation only have one work : just validate my form . Thanks
[Superfish] How do I set hoverIntent options for Superfish?
How do I change the sensitivity, etc.?
Integrating the path/bezier plug-in
I thought I had posted this but I can't find it. I'm trying to accomplish four things upon clicking: 1. hide a div 2. show a div 3. initiate an animation sequence 4. replace a graphic This all works fine. Now, I'm trying to replace the animation that I have with animation based on an arc so I'm using the bezier/path plugin. I was told my variables had to be declared outside the function which contains the animation action but I've had no luck putting those two lines of code into what I have. Here
jquery validate breaks when supplying additional metadata
Hi, I am working on a web form which uses jquery validatate for validation and a (custom-built) plugin for ajax support. My plugin supports metadata (using the jquery metadata plugin) for supplying information about the form and how the ajax request should be handled. The problem is that when I add such metadata to the form, jquery.validate tries to find matching rules and crashes because those don't exist when validating the form. For example my form tag might look like this: <form class="{this_is_just_some_random_metadata:true}"
Validation Plugin, changing message with addMethod
Hi, I've written my own custom validation method using addMethod which works great. But what I'd like to do is change the error message depending on which part of the validation it fails on. I've tried defining & using a var for the message but the message never changes, a very simple cut-down example: var customError = ""; $.validator.addMethod("myvalidator", function(value, element) { var returnVal = true; if (value.length === 0) { customError = "cannot be blank"; returnVal
cycle plug-in - creating links to specific slides
hi, i'm hoping someone can look over this code and tell me if it is right; i'm not a programmer, and although this works (at least in safari and chrome), i'm worried that it is bad code. what i'm trying to do is add a function to the cycle plug-in where the address bar reflects a link to the specific image in the slideshow using #1, #2, etc. not quite a history function, as i'm not concerned with back/forward buttons. (this code also includes for a 'position', i.e. 1/7, 2/7, etc., and a caption
jQuery Plugin Validation + Date Picker jQuery UI
I've got a form with a textbox in it and this textbox is readonly. If you click on the textbox you get a DatePicker. When a date is selected you see the date appearing in the readonly textbox. Now I wanted to use a required validation on the textbox but when there is no date selected I get a correct error message saying I have to choose a date so that's in order but when I then click on the textbox and select a date it doesn't update. It keeps saying that there's an error.But when I do it a second
Superfish menu Open UP?
I've posted my question on stackoverflow.com and you can see the code there, but essentially I'm wondering if there is a way to open (I know there is, I just can't) the superfish menu plugin "up" rather than down which it does by default. I think it's a css/jQuery animation issue but I can't seem to get it. Thanks in advance.
jqPlot does not show graph
Hi, I'm having trouble with jqPlot which is not showing the graph as expected. http://sinope.c0demonkey.com/~halfdan/stats/ Basically I request some JSON data from my Server using jQuery Ajax: function updateGraph() { $.ajax({ type: "GET", url: "<?php echo $_SERVER["SCRIPT_NAME"]; ?>", data: 'vhost=' + $('#vhost').val() + '&period=' + $("#period").val() + '&scale=' + $('#scale').val()
How to post entire JQGRID data to server
Hi, I have a JQGRID table and when I click submit I wanna post entire grid data to server. Thanks, Jim
Malsup's jQUery Form plugin - how to submit only PART of a form.
Malsup's most excellent and comprehensive Form plugin has me completely stuck on just one thing. Take a look at this: http://jquery.malsup.com/form/#ajaxForm At the bottom are a variety of submit buttons, and when you click one, it knows which one has been clicked. And I've been through the js and the source and the examples and I can't figure out how the bleep it's done! I'll tell you why I'm asking, then perhaps you can probably tell me I'm doing it wrong anyway! Let's say a blind person logs in,
Help with the Corner plugin please (malsup)
Hey this is my first post here so I want to first thank to all jQuery developers, it's so amazing! Now I will realy love to get some help please with the Corner plugin (v2.09, j1.4.2.min) I'm trying to use the 'bevel' pattern or any other pattern except the default 'round' and it works great in IE, but only in IE o_O and I just cen't get it what's wrong with my code. so here is my example page code and I will love to get some help please, thanks! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
jQuery validte change default messages
I know I can use messages to set the message I want, even my language, but if the message are the same, I have to type it over and over again, such as $('form').validate({ rules { a: 'required', b: 'required' }, messages: { a: { required: 'please input' }, b: { required: 'please input' } } });Can I set change the default messages for saving time?
[jme] Does JME recognise WebM?
Hi, Using latest JME, and my video source line looks like this: <source src="edit.mp4" type="video/mp4" />' <source src="edit.webm" type="video/webm" />'But it never /appears/ to use the webm file, even in browsers that support webm. Is this the case, or does it recognise it and am I just not able to tell? Regards David
JConfirm Issue
Hi i am facing a problem after using jquery jconfirm alert. Issue is that after receiving confirm alert, when user press tab to go on Cancel button and press Enter key there, despite of firing event of Cancel button, it fires the event of OK button. this issue is not produced when user press the cancel button by mouse. Waiting for your replies. Regards Kazim
[validation] Submit button value disappears
Hi, We have another problem with validation pluggin that shows erratic behaviour. Depending on some fields beeing filled or not, the SUBMIT button value is not passed (or is lost somewhere). I suspect the AJAX validation of fields that is a post to a PHP script and interferes with the final POST. The submit buttons (we have 2 and need to get their values) do not transmit their values. Firebug analysis shows all POST fields except SUBMIT. We see that on a form that have all fields filled, then
[validation] errorContainer not display the list item properly
Hi there, I am able to display the validation error messages at top of with wrapper: "li" like the following screen: But when I enter a valid email into E-mail field, the list item bullet not display (hide) properly in the error container, please see the screen below: Is this a bug or did I missed some settings in my source code? Attached here is the sample code that demo the problem (after extract the compress file, please open sample-code/demo/demo.html). Please advice. Thanks. Regards, Chee Kin
Linking Script to Anchor ! Semi-Newbie
I would appreciate if I could get some help on how to apply this jQuery script to an anchor. I have only figured out how to apply this to a ID, but how to get a anchor to trigger the effect on a ID is confusing me.
(validate) error message position
Hello In this form I have two groups of checkboxes. When I post the form the Validation plug-in puts the two checkbox errors in one line. How I put the error of second group in the first line of group2? Like this? Thank you for any help
JQuery Cycle Plugin problem in IE6 / IE7
I've successfully implemented the jqeury cycle plugin ( http://jquery.malsup.com/cycle/ ) I'm using a pager with pagerAnchorBuilder to provide control and go directly to a slide. It works perfectly in IE8, Safari, Firefox, Chrome and Opera. However, in IE6/IE7, the slideshow plays but the pager anchor does not appear: Here's the javascript: function loadSlideshow() { $(function() { $("#picsContent").cycle({ fx: 'turnDown', speed: 2000, timeout: 6000, pager:
JQuery validation shows error message in wrong place?
I have a form with three text field with the same name. If I trigger an error in any field, the error message for all other field with the same name will be shown next to the that particular field. (e.g. if I trigger errors at field 2, and correct the entry in field 2, then trigger the error in field 3, the error message for field 3 will be shown next to field 2 instead of field 3) Is it a bug? or just a designed behaviour? How can I change it? I am using jQuery 1.4.4 and JQuery validation 1.7 .
jquery template plugin - how to access item index for ?
When passing array data to tmpl(), the template plugin will apply the template to each item in the array. However, I cannot find a way to get at the current item's index, eg as ${$index} Nor can I find a way to use {{each}} on a top-level item. My workaround has been to embed my array data in an object, just so I can use {{each}}, just so I can get at the index, but that seems needlessly convoluted. Am I missing something? I would prefer a consistent design, where {{each}} was used for iteration
added upload control isnt sent by request.
Hello , I am having an iframe inside a page , in the iframe i am having an image and on that image am adding a new upload file , but the problem is that the file chosen from the browse button isnt being sent with the form , this is the animation function n this is my code (function ($) { var defaults = { rowSpeed: 1000, newRow: null, addTop: true, removeTop: true }; var newClasses = "newRow" var options = $.extend(defaults, options); $.fn.addRow
Strange problem when using validation plugin
Hi, I'm using validator plugin (jquery.validate.min.js) to validate form fields. my form is built like this: Copy code <form action="<?php echo $base_url;?>create" method="post"> <div id="formstyle_editeven"> <ul> <li class="first">Name:</li> <li class="required"><img src="<?php echo $base_url;?>assets/css/images/asterik.gif" /></li> <li><input name="name" type="text" class="mform" value="<?php echo set_value('name');?>"/></li> </ul> </div></form> (this is a shortened version, but u get the idea).
Calling jquery functions other then on document ready
I am missing some probably trivial understanding regarding when jquery code can be called, and would like some pointers please. the particular example happens to be for a slideshow, but could be any other jquery functionality. So I have this situation where the normal call is on ready like this <script type="text/javascript"> function onBefore() { $('#output').html("Scrolling image:<br>" + this.src); } function onAfter() { $('#output').html("Scroll complete for:<br>" + this.src) .append('<h3>'
Quicksand and a lightbox(the lightbox wont load the images afther using quicksand)
I am working with the plugin called quicksand, all things work but when ik use the quicksand the ligthbox works but only the images wont load(in the beginning the images will load) Tha basic plugin code below, as you can see theres and enhancement part which reloads all other jquery stuff used on the section. $('.sort-by-cat').quicksand($filteredData, { duration: 500, easing: 'easeInOutQuad', useScaling: true, adjustHeight: false, enhancement: function()
Instantiating and running jPlayer directly one after the other doesn't work -- why?
Hi everybody, I want to initialize the jPlayer plugin and directly play an audio file one after the other, however it somehow doesn't work. I've found a workaround, that if I wait aout 750ms (setTimeout) then playing the audio file works. Example code of what doesn't work: // initialization var jp = $('<div id="jplayer"></div>'); $('body').append(jp); jp.jPlayer( { swfPath: "javascript" }); jp.jPlayer('setFile', 'somefile.mp3').jPlayer('play');That code would be called after a user clicks
jquery-tmpl not working with href links
Having trouble getting jquery-tmpl to create dynamic href links. The name shows up correctly but I can't seem to get data inserted into template placeholders inside href tags. HTML <ul class="list1"> <li class="leftnavlink"><a href="/categories/${id}">${name}</a></li> </ul> JavaScript jQuery('ul.list1:first li:first').tmpl(categoriesData).appendTo('ul.list1'); JSON var categoriesData = [{"id":"20","name":"Aero Parts & Exterior","product_count":"0"}, {"id":"33","name":"Front End","product_count":"0"},
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
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
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
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.
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(); });
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
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
localStorage(HTML5) w jQ plugin and local access
For a calendar project implemented with pure HTML/CSS/JS I need to access local data files (.ICS). These ICS/iCal data has to be accessed also by other applications (eg. sync, backup, etc). Can anyone point to a possible solution to use HTML5 compatible calls (or jQ plugin) AND how to access the localStorage files also from the other apps.
HOverIntent/my hover
I am absolutley new to jQuery but I like it. My past coding was AS3 in Flash. I am rebuilding a website and ran into a problem where the menu in one section was a little too snappy when the mouse rolled over. I looked into delays etc bit stumbled onto "hoverIntent", which I could not figure out. I'm not even sure I had the html src="" pointing in the right direction. Is there a tutorial out there that is concrete and visually shows where everything goes? I used an alternate hover method suggested
Guide to filling in jQuery plugin form
Hi there, I'm just about to add my first plugin to the repository... Is there a guide anywhere? Is jQuery like the Drupal site and has it's own CVS system? Thanks, Andy
Templates in script tags disappear when loading partial HTML through AJAX
I have a problem with jQUery tmpl plugin. Here is a test case for you to try (because of console.log it works only on Firefox with Firebug). A file ajaxed_tpl.html: <div id="some_inner"> <script id="my_tmlp" type="text/x-jquery-tmpl"> <li> <img src="${imgSource}" alt="image" /> <h2> ${username} </h2> </li> </script> <script type="text/javascript"> alert('I am here!'); </script> </div> <div> I don't need this through AJAX</div> Now let's play. test.html: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
jcarousellite
Hi, I fount the excelent plugin on http://gmarwaha.com/jquery/jcarousellite/ it works fine, but i have some question realed to it: - is there any newer version available (newer then 1.0.1)? - I would like to start/stop the automatic play by clicking on a button, any idea how to do it? - in Safari (4.0.5) the height of the carusel-div is to small, so the itmes aren't vissible, any idea? thanks in advance for any help
Next Page