JQuery Validate Question
Hi I´m new here and this is my question: is there any way I can validate a form using jquery validate but not using an input type=submit??? I want to validate my form just using an input type="button" To give you all guys a general idea about what I want to do this is the thing: I have a form and I have an input type="submit" and this of course sends the action which is declared on form action="myAction" but I also want to use an input type="button" which will send another action but before
validate plugin access errorMap
Hi to all is it possible to access the errorMap on success to know which fields are validate false so based on the fields that are validate right do a custom code i need to. success: function(element) { var parent = element.parent(); parent.removeClass("error"); $(parent).children("p.errorField").remove(); //HERE i want to have access on errorMap //i need to know which field have pass validation and which fields
BlockUI v2.x rendering a JSP in modal window
Is it possible to render or to pass a jsp page in the modal window or call a Struts action?? I want to open a .jsp page, in the modal window that opens on a particular page on any event. Just like a popup.. only calling a jsp page instead of calling a div in the message tag. Please help. I love the BlockUI plugin.. its gr8.. but i am stuck at this. Regards. Panshul panshul007@gmail.com
jquery.form submit problem when using a link
Hello, I use the jquery.form (v2.39) plugin with a link to call the function that will send the form. Here is the code <a href="javascript:submitForm();void(0)" title="Enregistrer"><img class="ro" src="/images/btn_save.gif" alt="Enregistrer"></a> <script> $(document).ready(function() { submitForm = function() { $('#formTelephone').ajaxForm(function(response) { if (response != '') { $('#error').html(response);
Problem about jQuery form plugin with json
After I created a form. I bind the Form to Ajax and create function var pFormOption = { dataType: 'json', beforeSubmit: validatePForm, success: processJson }; $('#pForm').ajaxForm(pFormOption); function validatePForm(formData, jqForm, options) { if($('#pName').val() == ''){ alert('Please fill you name.'); $('#pName').focus(); return false; { }; function processJson (data) { alert(data.message); $('#pForm').resetForm(); };And here
JQuery News Carousel?
I'm after a jquery plugin similar to the news plugin on this website: http://www.itv-f1.com/home.aspx I'm seen a few very similar ones so I'm guessing there is a plugin out there already?
Using Malsup's Cycle Plugin throughout site?
Previously, throughout my wordpress site, I used Malsup's cycle plugin to create a simple but effective image gallery. But I have had to always manually type in all the images' html text and divs for each wordpress post. Is there a better way that could have an approach that allows me to basically choose what images and caption text I want to do it faster?
TableFilter with Scrollable. Scroll goes off after filtering text.
Hi folks, I am using the scrollable and TableFilter plugin in my project. Whenever i filter the data the scrollbar goes off. There is no way i can see the data. Can you guys please help me out regarding the same ?
thickbox background overlay color is not displayed for whole window???
Hello, I'm using the thickbox in asp.net, background is overlay properly if its exact window size, sometime Page height increased due to the long text, that time if you click thickbox content, background overly for only half the page, remaining page in normal background color..... here i attach the screenshot, only half window is overlayed, remaining window is in white background..... any idea plz.. thanks -Geller
Superfish menu tab order breaks when dynamically modifying submenu
I'm retrofitting an older site with the Superfish menus based on jquery. I've ran into an issue where I have to dynamically modify a submenu's contents by giving the outer <li> tag an id and then setting the innerHtml of that <li> tag with content rendered in a separate jsp. The innerHtml trick works fine except for once it is done you can no longer tab through the menu. As soon as you tab to that third level submenu it acts as if the menu no longer has focus and collapses. Has anyone else ran
scrollable: change direction of scrolling
Hi there, i'am using jQuery Tools with the scrollable plugin (http://flowplayer.org/tools/demos/scrollable/index.html) Setup works fine but i wonder how to change the direction how the images "fly in". The basic setup let the new ones fly in from right to left. My customer wants them to fly in from left to right... Can't be that hard i thougt but i cant find any option to revert this effect... Any help or hint would be great! Regards
Best Modal Plugin?
I'm currently developing a site that makes heavy use of the thickbox plugin. I'm aware it's not being actively developed any longer and I have the opportunity to "reset" everything I use (total markup overhaul) There are a lot of modal plugins. Which is a good thickbox replacement? Which are actively maintained? I'm a big fan of assigning a class to an href to queue the modal, this would make transitioning a snap. Thanks for the help!
deleting dynamically loaded JSon data from within "datatable" plugin
Hi, Am having fun with Datatable, rendering Json from a server call is fine, but am not able use the API to remove selected rows. Anyone done this? Or got an alternative 'json <-> table' to/fro plugin suggestions for client round trip editing?
Using Remote on validation plugin
Hello, I am trying to ckeck if the username is already tacken. rules: { username: { required: true, maxlength: 20, remote: { url: "verifusername.php", type: "post", },verifusername.php file: $file = ''.$_SERVER["DOCUMENT_ROOT"].'/dbconnect.php'; if (file_exists($file)) include($file); if(isset($_POST['username'])) { $user = ucfirst(strtolower(trim(htmlspecialchars(mysql_real_escape_string($_POST['username']))))); // VERIFICATION $result
jQuery [Validation Plugin] - Dependent Require
Hello, I have a form that is validating fine using the jQuery Validation plugin, however there is one field I need to do something slightly different with. I have a normal text input field field called "Expenses" and a textarea field called "Comments". If "Expenses" has a number in it, I need the user to type something into the "Comments" field before the form can be submitted, and generate an error message as appropriate. I've Googled this and had a browse through some forums but can't find anything
if ($("form").valid()) causes IE script error message, why?
I'm using the latest JQuery Validator plugin. My submit button is actually a link with a class of "activitySubmitLink", therefore I use the following code to submit a form. $('.activitySubmitLink').livequery('click', function() { if ($("form").valid()) { $('form').ajaxSubmit(...); } }); Even though this works and prevents form submission when form is invalid, IE 7 and 8 gives an error that says "Stop running this script? A script on this page is causing Internet Explorer to run
(validate plugin) (remote) How to bypass the positive 'remote' error and submit the form?
Hi there, I'm currently developing a multi-choices question game where the player has to identify himself using his login and password to record his answers. One feature of the game is to allow a player to play again so he can update his answers (yes, I want them to win). Using the 'remote' feature of the 'validate' plugin, I can check if a player has already played and display a 'you already played' message. But then, the form is lock because the positive 'remote' is considered as an error. Is there
ui.tablesorter is slow when there are a lot of rows.
I have a table with 7 columns that is slow when i use the tablesorter. Profiling with firebug in firefox shows that one row takes approx 3,75ms to implement, i only use the zebra widget, no default sorting. At 1000 rows we are talking 3.75 sekond before the user sees anything. Is there any way to optimize the speed for this thing? I don't need to show all the 1000 rows at the same time, but it needs to be sortable.
Need Help with jQuery Validator
I'm trying to get the Validator Plug-in to work on my form. I've read the documentation and tried several different things and nothing is stopping my form from being submitted. I don't know if I'm doing something wrong. I tried debugging in firebug, but it didn't return any errors. Here's my form & the code I'm using, I just want a very basic require & don't need anything fancy (yet). <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
jquery validator plugin field name with special characters
Does anyone know how to get jQuery's validator plugin to recognize input field names with special characters? I have a framework that is generating a form field with these characters: []. Example: <input type="text" name="user[firstname]" id="user-firstname" /> When using Jorn's plugin, the field is disregarded. rules: { user[firstname]: "required"} is not recognized. But, if I remove the [] from the field name and change the requirement accordingly, no problem. Anyone know how to escape the square
why using editcell() is causing beforesavehandler to fire again in Jqgrid and if is there any other way to focus on a cell without beforesaveHandle() firing.
why using editcell() is causing beforesavehandler to fire again in Jqgrid and if is there any other way to focus on a cell without beforesaveHandle() firing.
Problem with a plug in jQuery and IE
Hello, I have a problem of compatibility between a 3D carousel and IE 8.0 It works perfectly on Firefox 3.6 but on IE 8.0 it doesn't turn on the good way. So, i would like to know if someone can help me to solve the problem or can tell me where is the problem. Thanks. Plug-in adress: http://interface.eyecon.ro/ Firefox screenshot : http://img199.imageshack.us/i/firefoxsa.jpg/ (the good) IE screenshot : http://img97.imageshack.us/i/59904067.jpg/ (the bad) If you need some part of my sources
jQuery Scrollable - Prevent sliding at clicking on content area
Hi there, i'am using http://flowplayer.org/tools/scrollable.html#api and wondering how to prevent the sliding by clicking in the content area? I only want the user to scroll the slider by clicking on my arrows left and right. here is my slider setup code: $("#teaserScrollable").scrollable({ size:1, onSeek: function() { $(".innerSubMenue").slideDown("normal"); $(".innerSubMenue").slideUp("normal"); }, next:'#teaserNext',
Tablesorter drammatically slow on IE8
I have a table with 900 rows and 6 columns. Page sorted + zebra + pager, loads in 1 second with chrome, 2-4 with firefox, ..... 30 with IE8. the same loading without presorting zebra and pager. If i run page in "compatibility mode", page loads fast!! Suggestions?
Adding dynamic captions to smooth div scroll
Hi All I was just working on a site using the smooth div scroll plugin and i have to add in captions for images. i was hoping to implement the caption system from this site: http://www.queness.com/resources/html/slideshow/jquery-slideshow.html. However my only issue is that this caption example operates of a setinterval action and so rotates based on a timer. Is it possible to modify this so that a caption is displayed as the user scrolls through the images (ie if the image is displayed first in
Superfish, supersubs - wrong width for Arial Narrow font
Submenu items end up having too much space on the right. Here's an easy test: go to http://users.tpg.com.au/j_birch/plugins/superfish/#examples and use Firebug to set font-family to 'arial narrow'. I've tested it on Windows 7. The width of the items' text should be calculated some other way.
Autocomplete and Enter Key
It'd be nice to have a settable option for the enter key on the Autocomplete. In the code, it's set to swallow the enter key, but in fact, the behavior I want is to fill the box and submit simultaneously - similarly to the way Google Suggest does it.
Select Box Manipulation
Using this plugin: http://plugins.jquery.com/project/selectboxes Getting this error in IE8 and Safari: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; MS-RTC LM 8; Creative AutoUpdate v1.40.03) Timestamp: Mon, 22 Feb 2010 21:36:23 UTC Message: 'constructor' is null or not an object Line: 329 Char: 2 Code: 0 URI: js/jquery.selectboxes.js Here
JQuery JSTree - onsearch callback invoking the default.
I have an issue with JQuery JSTree onsearch callback functionality. The first search on the nodes in the Tree always invokes the default callback within the jquery-jstree.js and not the overridden onsearch callback. But if I expand/collapse any nodes in the tree, and then do a search, now the overridden onsearch callback gets triggered. Can anybody help why its invoking the default onsearch callback in the first instance and not the overridden one? Regards, Rajesh.
sort table after ajax creates table using jquery plug-in tablesorter
Hi, I'm having trouble to enable sorting on the table once the ajax creates the table dynamically. I have this form: <form method="get" action="getTable.php" id="greeting-form"> <div> <label for="skin_type_id">Enter your name:</label> <input id="skin_type_id" type="text" /> <input onclick="passParam();" type="checkbox" /> <input id="button" type="submit" value="Update table" /> </div> <div id="table"></div> </form> Here's
Looking for an autocomplete that can :
I have found like 10 auto complete plugins but non of them could do what i wanted them to do, i tried modifying it but no luck i need an auto complete that: - can pas a name AND - that can pas the ID (hidden) AND - that can be controlled with your arrows (up/down)+enter Anyone has any suggestions? Someone on IRC said "write your own" -> not that good in jquery so not an option :) thanks in advance for the suggestions.
jScrollPane class missing in generated source
I am having trouble getting jScrollPane to work. Test environment is XP/Firefox with developer plugins. Here's my code (taken from view source, abbreviated for easier reading) (Links to all JavaScript and styles have been tested OK for my site): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- STUFF LEFT OUT HERE --> <script type="text/javascript" src="js/MM.js"></script> <script
ClueTip and IE Height Problems
Hi All, I'm in the final stages of testing my site, and apart from many other weird things found in IE7, I find that a cluetip height is not being calculated properly, and so I end up with the cluetipOuter and Dropshadow going past the bottom of the window. I have tried to debug in code, but I can't see where the erro in calculation is being made. Has anyone else experienced this problem? Any ideas please? I am using Version 1.0.4 (June 28, 2009), and Jquery 1.3.2 I have posted before, but didn't
JQuery ScrollTo Not working correctly in Safari
Hello. I am using JQuery ScrollTo and LocalScroll. The problem I'm encountering is that LocalScroll works correctly in Firefox but does not work as intended in Safari. http://grdedev.ferris.edu/~swenorr1/website/2010_02_21/index.html This is how it looks and it is working as I've wanted it to, however the JQuery LocalScroll will not work in Safari browser. I believe it has to be something to do with the Function and the document ready call. I'm just wondering if I'm calling it wrong. If anyone could
jQuery form plugin - submitted form id
Hi, I've noticed that the newer versions of the plugin don't return form attribute in the "formData" variable. In previous versions I was using this to get the submited form id... for marking missing input fields...(custom validation script - server side). Any ideas how could i get the submitted form id in the new versions?? Thanks!
Jquery ScrollTo Problem
Hello. I'm trying to use the Jquery ScrollTo plugin but am having problems actually getting it working. I am using ScrollTo and LocalScroll. Through troubleshooting I've determined the problem lies in getting the document ready. I've tried to follow his code, but am lost. I've got the anchors working, I just need help getting them to function in the way the Jquery intends. Any help would be greatly appreciated. Thank you! jQuery(function( $ ){ /** * Most jQuery.localScroll's settings, actually
Scrolling problem
Hi I have div1 class="post" div class="title" div2 class="post" div class="title" div3 id="post" div class="title" .... div10 id="post" div class="title" I am trying: clicking on div#title belonging to div1 scrolls to div#title belonging to div2 and so on to cut a long story short clicking on div#title scrolls to the next div#title and so on I have tried and not succeded so far using localScroll or scrollTo ??? Any help will be very much appreciated jean
jquery Cycle plugin
hello, i have following problem: i want to resize the div-container which stores the slideshow images as title already mention, i use the cycle plugin. so my images have different heights and i want to resize the page layout depending on the current visible image height. <div class="pics"> <img src="images/image1.jpg" class='img-bot'/> <img src="images/image1.jpg" class='img-bot'/> <img src="images/image1.jpg" class='img-bot'/> </div> $('.pics').cycle({ fx:'fade', speed:'2000',
Malsup Form: problem with upload of big files
Here I have a test page: http://wmviking.ru/test/1.html There is no problem to upload small files, but if I choose larger (for example, 2MB) - upload crashes without normal execution. I put simple and ajax upload on example to check that in one case it works normally, and in another - crashes! What is wrong, Mike? Help please...
jquery.noConflict() problem
HI, I am using jQuery JavaScript Library v1.3.2 jquery.galleryview-1.1.js jquery.timers-1.1.2.js for gallery if i use no.Conflict() function with my gallery plugin then gallery doesnt work, and if i remove it then my jquery dropdown menu doesn't work. i am kind of lost, cant get both of them work at the same time. here is the link http://www.reelinrealout.com/gallery please help me. Thank You, Regards, Dipesh Sejpal http://www.inventifweb.com
Next Page