[jQuery] call javascript after the form validation
i want to call a javascript function after the form validation . if the form validation is correct then only i want to call that function ....... <form id="form1" name="form1" action=" " method=" " onsubmit="callme ()"> </form> if the form validation is correct then call i want to call the onsubmit function which is callme().
alert();
Hey guys I just started learning jQuery. I come from an actionscript background where trace(); is a common thing. I believe that the alert(); is equivalent to the trace of AS but its quite annoying to have pop-ups. What do you guys use. Is there some other way around the pop ups. Thanks am
[jQuery] Superfish and IE6 Z-Index
Working to implement Superfish - works great in Firefox, Safari, IE7, but the flyouts fail in IE6. I tried the recommended z-index fix, but obviously didn't get it right. Would appreciate a helping hand at: http://ohs.rouviere.com Thanks.
[jQuery] problem with jcarousel and Sliding Login Panel
I have a problem with jcarousel and Sliding Login Panel (http://web- kreation.com/index.php/tutorials/nice-clean-sliding-login-panel-built- with-jquery). It appears in IE7, IE6. Jcarousel is always on top of Sliding Login Panel no matter what i do with css. FF, Opera, Chrome - ok. Could somebody help me with this problem? Thanks in advance, Alexander
[jQuery] Closing jqModal from inside of content loaded with AJAX
Hi, I have a standard page loaded with jqmodal box that is loading a form via ajax. Now I want to close that modal after submit from the inside of page that was loaded, depending on the form result. I've tried parent.$(".jqmAlert").jqmHide(); and many other versions but I always get "h is undefined" or some other errors. Maybe somebody had this problem and can give me a hint? Thanks!
[jQuery] clone(true) events are losing when manipulating cloned html
Hi, Can we manipulate clone() html before append() without losing events? Let me explain it further. I am cloning a set of html with the buttons action, it works fine. But I need to manipulate the cloned html, actually I increment a function parameter using replace(), it does work but lose the all the events. I hope, I am able to explain, let me know for more input. Looking for quick reply. Thanks Mohammed Arif
[jQuery] Wait for one function to finish, then start the next....
I have seen a few of threads on this issue. However, they have mostly deal with the fadeins or fadeouts which is not what I am needing. Here is what I need: On a click event, start function 1. Then after it's finished, start function2. Here is my code: var $j = jQuery.noConflict(); $j(document).ready(function(){ $j("#select_inv").click(function() { open_popup("Inv_Inventory", 600, 400, "", true, false, {"call_back_function":"set_return","form_name":"EditView","field_to_name_array":
[jQuery] Question: Wait for function 1 to finish, then start function 2....
Hello, I have done some searching on the discussions here and have found info on waiting for fadeins, etc. to finish and then calling another function. However, I am needing something a little different. I am needing for function 1 to process and then call over to function 2 once it's finished. Here is my code: var $j = jQuery.noConflict(); $j(document).ready(function(){ $j("#select_inv").click(function() { open_popup("Inv_Inventory", 600, 400, "", true, false,
Help with .click .animate having to click twice in IE
Hi all, I have written some Jquery code to animate a div, basically a horizotal sliding drawer. The problem is, it has to be clicked twice in IE 7 to make it work, but only once in FF and safari like it should. Any help would be greatly appreicated. Thanks. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script src="lib/jquery/jquery-1.3.2.js"
UI Theme makes href's disappear in IE6 - tricky one
Hi there, this is a tricky one Just set my redesigned site online @ http://www.ggerri.com I'm using a customized redmond theme from the UI theme site. Everything works fine. In the 'about' section I have some links to other sites. these look also perfect in IE8 and FF3 but when I open this part in IE6, the links show up for a microsecond and then disappear . Removed my CSS, but problem was still there. Then renamed jquery-ui-1.7.1.custom.css so it couldn't be found any more. Of course, the accordion
[jQuery] problem with jcarousel and Sliding Login Panel
I have a problem with jcarousel and Sliding Login Panel (http://web- kreation.com/index.php/tutorials/nice-clean-sliding-login-panel-built- with-jquery). It appears in IE7, IE6. Jcarousel is always on top of Sliding Login Panel no matter what i do with css. FF, Opera, Chrome - ok. Could somebody help me with this problem? Thanks in advance, Alexander
[jQuery] getJSON problems
Hi, I'm trying to get some data as JSON, and want to show a spinning animation while doing so. I have the following jQuery/HTML: http://dpaste.com/46873/ The URL I pass to getJSON returns some data e.g. {'data': '123456789'} and seems to be working properly and returning valid JSON. I pass a callback function called processData to getJSON, but this does not seem to be getting called (I put an alert in this function just to test if it was being called). Any help would be much appreciated!
[jQuery] Plugin Best practices?
I use three or four jquery plugins for a site. What's the best practice in loading all of these files and how much does it slow down an app? Do you reference them from another file to keep the page code clean? Just a couple of questions to find out about . . . . Thanks, Rich
manipulating content between elements
Hi, Goal: to manipulate content between elements. I've found a script where I can find the content between elements, but now I've got the weirdest thing ever: i can't find a way to manipulate it. I know its very simple but I tried everything and nothing works! What i want is to wrap a <div> around it. Current script: var headings = $('h3'); for(var i=0; i < headings.length; i++) { var node = headings[i]; var group = [node]; for(; node; node = node.nextSibling) { if(node == headings[i
[jQuery] jFlow with ajax loaded content
I've spent some time trying to figure out how to modify the jFlow plugin so that I can load new pages via ajax and have them slide as well without any luck. It would be great if someone could point me in the right direction or to another plugin that might do something similar already. I like this one because it's really lightweight. jFlow: http://www.gimiti.com/kltan/wordpress/?p=46 This is the html required for it to work: <div id="controller" class="hidden"> <span class="jFlowControl"></span> <span
[jQuery] [ui resizable] A few issues...
Hi all, I am using the jquery-ui resizable plugin, but I encountered some issues : 1) I had to add the ".ui-resizable" css for that plugin to work (hopefully I found a website explaining that workaround) 2) there is no "scroll" option like in draggable (!?) 3) the containment option does not work vertically on the official example (http://jqueryui.com/demos/resizable/#constrain-area you are constrained horizontally, but not vertically). In my application, the containment option is buggy too : it
[jQuery] vs2008 reports a js warning in jquery.js(v1.3.2)
jscript intellisense error in jquery.js@2140:12: var root = document.documentElement; it says object doesn't support this property or method how does it come and is it a real problem?
[jQuery] jQuery & XML
I have this XML file, and I've gotten a few values from it, but I need one more, a create a variable from it, and insert that in to an img tag. XML : http://itiz.in/idvt JS : http://itiz.in/318m So as is clear, getting the track name etc. is fine, but I want the medium sized album art to be inserted in to an img tag (<img src="medium_sized_image_url" alt="">). I've tried searching but can't find anything, I'm doubly interested because I wouldn't mind using the URL that's in there as well.
this is really odd... any insight please?
Hi there, I really hope you can spare a bit of time to help me with this im building a configurator using Jquery, and have run into a very odd problem. let me explain: Step 1 The user arrives at the page and is presented with a drop down box and a "continue button". This is actually coded directly into a "wrapper" div in html. Step 2 The user selects from tjhe drop down and clicks continue... cue cool fading effect and the contents of the "wrapper" div are replaced with the next step in my configurator.
New :visible/:hidden breaks my site. Workarounds?
Hello. After using v1.2.6 for a while I decided to switch/try 1.3.x, and replaced it with 1.3.2. And I started to notice some "strange" behavior. But apparently is not strange, it's just re-written :visible/:hidden part. So for example this piece of html: <div id="login-form-cnt"> <form>login form</form> </div> <div id="comm-form-cnt"> <form>comments form</form> </div> What I want to do is to hide/fadeOut the entire #login-form-cntafter some operations and show/fadeIn #comm-form-cnt (after
on mouseover get variables from database
What I am trying to do is this, when I mouseover a link I want to get one part of the adress and use it as a variable in a mysql-query and get information from the database. I have made the mouseover function to show i div-tag, now i want to populate it with data from the database. Haven't been able to find any tutorials on the subject. So if anyone know how to solve it, have tips on good tutorials or anything else that can help me would be appreciated. Best regards.
Adding numeric validation to dynamic field
I am trying to add numeric validation to a field that I generate once a button is clicked. The code is: function addFormField() { var id = document.getElementById("id").value; $("#appendTable").append( "<div>"+ "<table width='820' border='0' cellspacing='0' cellpadding='5' align='left' style='margin-top:10px;margin-bottom:10px;margin-left:-2px;clear:both;'>"+ "<tr>"+ "<td class='label'>ENTER DEALER NAME</td>"+ "<td class='label'><div style='margin-left:-8px;'>ENTER DEALER INVOICE NUMBER</div></td>"+
How to combine 2 jquery scripts
I have one jquery function that submits data via a datastring to my server. This works great. On success, I currently have a little alert box that lets the user know that the data was stored. Of course, this alert box isn't tied to a server response so it isn't accurate. I now have a second function that gets back a json response for a success or failure from the server and will echo to the user whether the data was saved successfully or not. This function should replace the alert box in the bottom
[jQuery] Multiple selectors failing in Safari
Hello, I have an input box searching a XML file for a string. Anything the user types in, the script searches through the XML file in the "name" and "conference" tags for results. This works just fine in Firefox. However, in Safari, it only returns a result when a single search result is found. I've narrowed it down to this line, and I have no idea what is wrong with it. Am I wrong in my use of selectors in this way? Or is it a Webkit bug? $(xml).find('name:contains("' +searchString+ '"),conference:contains
[jQuery] When is jQuery available?
I am having a problem when loading jSquey from the Google CDN as follows: <script src="http://ajax.googleapis.com/ajax/libs/jquery/ 1.3.2/jquery.min.js"></script><!-- does not work -->. I have verified that the URL is correct and ir used in IE, the library is downloaded. I have used in in a site that does not require proxy, and it works fine. Otherwise the code <!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">
[jQuery] Gradient Auto Update
I am working on trying to use jquery to auto update a gradient div.. I was wondering if somebody could take a look at my code and let me know if there is a way to achieve my desired effect or not.. The test page is here: http://client.vdhinc.com/iHouse/accounts/test.php You will notice how the border field changes the border of the div on the fly.. What I'm trying to do is get the gradient field to do the same.. If any other info is needed, or someone has an alternative way of doing this, please
[jQuery] Loading / Handling Large Data for Sorting and Pagination
Hello: We are using jQuery JavaScript Library v1.3.1 for paging and sorting purposes. This library is working fine when we are loading smaller data sets (<1000 records) on the page. However, when data set starts getting large (>3000 records), the initial page gives a script loading error and the page does not load at all. How can we solve this problem and still be able to use jQuery? Any help would be highly appreciated. Thanks in advance for your time. Cheers!
[jQuery] Wait for one function to finish, then start the next....
I have seen a few of threads on this issue. However, they have mostly deal with the fadeins or fadeouts which is not what I am needing. Here is what I need: On a click event, start function 1. Then after it's finished, start function2. Here is my code: var $j = jQuery.noConflict(); $j(document).ready(function(){ $j("#select_inv").click(function() { open_popup("Inv_Inventory", 600, 400, "", true, false, {"call_back_function":"set_return","form_name":"EditView","field_to_name_array":
[jQuery] FF3 really slow on a mousemove with lots of divs (more then 5000)
I can't figure out how i can improve the speed in my dolumap in FF. All other browsers seem to do a bit well at least. It seems to crash all the time as soon as I mouseover a colored div. (Well it just starts lagging too much) I wouldn't recommend opening this when you have other FF tabsor windows open it will most certainly crash.) http://dolumar.225mb.com/dolumap/test/ (I wouldn't recommend opening this when you have other FF tabs or windows open it will most certainly crash.) or if i reduce the
[jQuery] jQuery 1.3.2 treeview
I have a problem with jquery treeview plugin. I'm use jquery 1.3.2 and this plugin don't work in firefox 3.
store array in cookie
I need a way to store an associative array in a cookie. Or maybe JSON encoded string. I am using jquery. var cookie=[]; cookie["product_1"]=[]; cookie["product_1"][cookie["product_1"].length]=12; $.cookie('uploads', $.toJSON(cookie), { path: '/', expires: 10 });
Tabs reloads page at anchor
I have got tabs working great and have set up a rotate every 5 seconds but whenever it loads a new tab (either by clicking a link or rotating to it) it moves up to the top of the page as if it was following an anchor. Anyone know why this might be, and more importantly, how to fix it?
[jQuery] Licensing
Are all jquery plugins available under GPL and MIT licenses? My company requries me to provide a URL which describes the licensing of any open source code we use. I have links to JQuery's licensing, but I want to use ClueTip plugin and can't find any specific licensing informaitno.
[jQuery] Load question
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6001.18226" name=GENERATOR></HEAD> <BODY> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=709293401-23052009>I am new to jQuery and have a newbie question.</SPAN></FONT></DIV> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=709293401-23052009></SPAN></FONT> </DIV> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=709293401-23052009>I
[jQuery] Jquery Email validation
is ant one know how can i set email validation in jquery i am using .net
[jQuery] validate text question..
hi! I'm new to jquery and I seem to have some problems. For example let's take this script.. $.post("insert.php", { whatever:whatever }, function(data){ $("#status").html(data).slideDown("slow"); }); ..if this script is executed correctly I should see the contents of "data" displayed in my #status div , assuming that insert.php echoes something back. Now for my question: is there a way to search the contents of data before they get displayed ? something like : if(data.text == "some
[jQuery] How to convert csv file to json
How to convert csv file to json using jquery / javascript??
[Help!] Anchor tag in pop up not working!
So I'm trying to use an anchor to close my pop up window. However, it doesn't seem to be working even though it all looks perfectly fine to me. Been cracking my head over this for half a day now so I'm really dying for some pointers. <body> <div id="container"> <div id="mainContent"> <img src="anb.jpg" alt="base" width="768" height="650" border="0" usemap="#Map" -width="768" /> <map name="Map" id="Map"> <area id="aboutus" shape="poly" coords="349,153,251,165,295,300,330,313,354,299,370,315,365,283"
[jQuery] Replace newline char with comma using jquery
Hello frendz, I'm trying to replace newline char frm Google finance csv file with comma but its not happening pls help. http://finance.google.com/finance/historical?q=GOOG&startdate=May+1%2C+2009&enddate=May+5%2C+2009&start=225&num=25&output=csv I'm using following code csvString=csvString.replace('\n',''); I think there is some platform newline char issue. how to do this using jquery? pls help
how to pass arguments
this is my test example: function getAlbums() { var date = getSelectedDate(); $('something').click( getAlbumPhotos ); } function getAlbumPhotos () { ...... } Can anyone tel me how can i pass 'date' to getAlbumPhotos ?
Next Page