Hi!
How can I reload page [05 seconds gap] after successful ajax reply
from server. Like youtube shows SUCCESS message and then whole page is
refreshed after a while.
Thanks in advance
After receving success, you can do like this.
setTimeout("yourfunction()",5000);
Regards
sure
On Mar 11, 12:18 pm, Bluesapphire wrote:
> Hi!
> How can I reload page [05 seconds gap] after successful ajax reply
> from server. Like youtube shows SUCCESS message and then whole page is
> refres
Hi,
var val1 = $("#seasonmember").children("option:selected").attr
("value");
var val2 = $("#season").children("option:selected").attr("value");
validate both val1,val2
Regards
sure
On Mar 11, 10:57 am, Mark King wrote:
> Hi.
>
> I have two select boxes for differrent classes of tickets ,
*shrugs* up to you, brian means to use string.splice(a); where a =
number of characters before the index that is tacked on. so if the
name/id is foo_1, foo_2 then you'll do:
$('[id^=foo_]').change(function() {
$('[name=post-amount_' + $(this).attr('id').slice(3) + ]').val($
(this).val());
})
Thanks guys for both of your replies they are equally valuable. I have
never delved into creating plugins yet I suppose I should really. I
tried with this code but missed the last part which was include it in
a div.
Thanks for the help, Ian.
Dunno about Fancybox, but you can use the remote method to check the
username: http://docs.jquery.com/Plugins/Validation/Methods/remote
Jörn
On Tue, Mar 10, 2009 at 11:53 PM, MonkeyBall2010
wrote:
>
> You'll have to forgive me if this question sounds easy but I am fairly
> new to jQuery so I'm
Using the validation plugin, set a required-rule for each field, after
removing the value from the 0-option, that is, change it to 0
Jörn
On Wed, Mar 11, 2009 at 6:57 AM, Mark King wrote:
>
> Hi.
>
> I have two select boxes for differrent classes of tickets , like so:
>
>
> 0
> 1
> 2
> 3
> 4
>
Sure. There is a small difficulty in that this code is supposed to run
an iPhone/Webkit and some API´s don´t make sense in a standard web
enviroment. But basically you can just strip all that exra bits and
pieces and just run it in a browser. I should actually do this myself
and see if it is an is
That's because events are binded to existing elements.
If you're using 1.3.x, take a look at "live" method:
http://docs.jquery.com/Events/live#typefn. With previous versions,
livequery plugin may be helpful: http://docs.jquery.com/Plugins/livequery
On 11 мар, 09:25, sure wrote:
> Hi all,
>
Hi errant,
Thank you very much for quick reply. Now it works good using
live method. Your solution saves my lot of time.
with Regards
sure.
On Mar 11, 1:32 pm, errant wrote:
> That's because events are binded to existing elements.
>
> If you're using 1.3.x, take a look at "live"
> me
I did this in the end (created a div called errorcontainer obviously).
$(document).ready(function(){
var container = $("#errorcontainer");
container.hide();
$("#regform").validate({
submitHandler: function(form) {
if ($("#seasonmembe
Hi,
I wish to pop up a div using jquery Apppreciate if you send the
code, if possible.
On Mar 11, 2:16 am, MorningZ wrote:
> is there any compelling reason to *not* use window.open, which any
> jQuery solution will ultimately use anyways?
>
> or are you looking for a modal (which blockUI
Hi all,
I am unable to remove html data after append html data to div,
I can remove initially data using this function successfully with out
getting any problem.
Jquery
-
$(function(){
$("#addrow").live("click",function()
{
var len = parseInt
I did this in the end (created a div called errorcontainer obviously).
$(document).ready(function(){
var container = $("#errorcontainer");
container.hide();
$("#regform").validate({
submitHandler: function(form) {
if ($("#seasonmembe
Thanks Karl,
It worked perfect.
On Tue, Mar 10, 2009 at 7:01 PM, Karl Swedberg wrote:
> if(($out).filter(':contains(Invalid)'))
>
>
> That is always going to be "true" since it returns a jQuery object
> regardless of whether there are any matched elements. Try this instead:
> if(($out).filter(':c
Here are a few:
* jQuery UI Dialog - http://jqueryui.com/demos/dialog
* Facebox - http://famspam.com/facebox
* FancyBox - http://fancy.klade.lv/
* iBox v2 - http://www.ibegin.com/labs/ibox/
* jqModal - http://dev.iceburg.net/jquery/jqModal/
* jQuery Alert Dialogs - http://abeautifulsite.net/notebo
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 !importan
a fast question :
how to use the opts.slideCount ?
function onAfter(curr, next, opts){
var msg = ' ' + ( opts.currSlide + 1) + ' / '
+ (opts.slideCount);
$('#counterMedia').html(msg);
};
seems not working easily :
the
Hello!
when page first time loads, i want to open, for example first level of
items...is any possibility to do "click" on treeview item (if i know
li id or something...)
hi,
i new to jquery, i'm using the jquery validation to validate my form.
using this code
$.validator.setDefaults({
submitHandler: function() { alert("submitted!"); }
});
$().ready(function() {
$("#addrest").validate({
hi,
i'm new to jquery, i'm currently using the validation plugin to
validate my forms.
here's my code
$.validator.setDefaults({
submitHandler: function() { alert("submitted!"); }
});
$().ready(function() {
$("#addrest").validate({
Hi!
I'm using tablesorter, which content is generated by a $.get (from a php
script) when the page loads.
I want to add to my table a column 'delete' with a delete link (for each row
of course).
The problem is I can't catch the click action with jQuery: nothing happens.
But when the link is out
> how to use the opts.slideCount ?
>
> function onAfter(curr, next, opts){
> var msg = ' ' + ( opts.currSlide + 1) + ' / '
> + (opts.slideCount);
> $('#counterMedia').html(msg);
> };
>
> seems not working easily :
>
> the
> FYI: Semi-colons are missing on lines 87 & 605 of the form plugin,
> thus making it hard to compress/obfuscate.
Fixed.
http://www.malsup.com/jquery/form/#download
Hi,
Include your css files using @import. It loads at the end of the page
load. And use !important in your css. May i think these will help u.
Regards
sure
On Mar 11, 3:38 pm, Nguyễn Quốc Vinh wrote:
> I'm using sortable of jQuery UI!
> My elements such as UL tag, LI tag(sortable, dragable,..e
Hi --
I've got a contact form here
http://www.dianlofton.com/contact.shtml
...using the jquery.validate.js plugin. The form has an optional input
for a phone number, which I'd like to have validated -- but only if
there is info in the input. If you look at the source code for that
page, you'll
add if (this.optional(element)) return true; to the top. See any
existing validation method for an example, or
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
Jörn
On Wed, Mar 11, 2009 at 12:43 PM, clorentzen wrote:
>
> Hi --
>
> I've got a contact form here
>
> http://www.dianlof
I'm having a strange issue with the validation plugin.
I have a field for the users telephone number, but the only rule that
is set is that it is a required field. However, if you type any
character apart from a number it gives a "Please enter a valid
number" error which it shouldn't (as I never
@michaell
I Haven't see your comment but you're right. In my example I show
two options to get/retrieve the values of the :input fields that I use
trying to set a perspective of the problem. The first one within a
function and a second example directly on a specific field. Saving the
whole inpu
You probably have added a class "number" that the plugin picks up as a
rule. You can remove or replace the class, or remove the number
method:
delete $.validator.methods.number;
Jörn
On Wed, Mar 11, 2009 at 1:01 PM, Walther wrote:
>
> I'm having a strange issue with the validation plugin.
>
>
I'm happy to announce the release of jOWL version 1.0
jOWL (http://jowl.ontologyonline.org) is a jQuery plugin to load and
visualize semantic information from OWL (Web Ontology Language) files.
This version incorporates smarter reasoning, faster loading and many
other goodies.
David
jOWL semant
I'm not using any class "number". The problem only exists if the word
"number" exists inside the message, what can I remove or change in the
jquery.validate.js file to stop it "scanning" messages?
I'm not sure where to put the delete line. If I add it in my document
ready function the validation
You could configure the metadata plugin to use something else then the
class attribute. Currently you have the word "number" inside the class
attribute, so the input has the class "number", metadata or not.
Jörn
On Wed, Mar 11, 2009 at 1:13 PM, Walther wrote:
>
> I'm not using any class "number
Ah, that worked. Thanks.
Walther
On Mar 11, 2:15 pm, Jörn Zaefferer
wrote:
> You could configure the metadata plugin to use something else then the
> class attribute. Currently you have the word "number" inside the class
> attribute, so the input has the class "number", metadata or not.
>
> Jör
stilwalli wrote:
>
> Hello Developers,
>
> I am using jqGrid plugin of JQuery for displaying data in a grid. I am
> wanting to manipulate the data xml dynamically. For instance say I have an
> xml like
>
>
>
> 10
> raj
>
>
> 20
> caj
>
>
>
>
> Now when I say add row, I would like to
The problem is that tinyMCE has not added the content to the textarea
which it usually does on the page unload event.
To solve this, call this function before you serialize:
tinyMCE.triggerSave(true,true);
- Adhip.
On Feb 25, 8:10 pm, Dan Vega wrote:
> I am having an issue withtinymceand jque
I'am using the slideToggle function to toggle all boxes at my page. It
worked in all browser at first, but now I get an error in Internet
Explorer7 (Element is not defined).
I tried to figure out where the problem is, because no javascript
works at all in IE now.
The error is trigged at:
$(".expa
Does this solve your problem? http://www.crossedconnections.org/w/?p=88
All you have to do is call:
tinyMCE.triggerSave(true,true);
before you make the post call.
On Feb 13, 9:48 pm, "david.0pl...@gmail.com"
wrote:
> I need to have this:
>
> function nuovo_articoloPOST(){
> //Se e so
Call this before the $.post call:
tinyMCE.triggerSave(true,true);
On Feb 13, 9:48 pm, "david.0pl...@gmail.com"
wrote:
> I need to have this:
>
> function nuovo_articoloPOST(){
> //Se e solo SE il form è stato validato
> if($("#nuovo_articolo").valid()) {
>
> //
Hello,
at this http://baustelle.besucherring.org/frontend/
karte.htm">page I use the following jQuery Script to highlight the
towns at the map when the user is hovering over the items at the
navigation
$(document).ready(function(){
$("#block_2 h2").after("");
$("#navi_ring a").hover(func
Hi,
I'm trying to import my sitemap.xml file, and the code below works
when i have the alert('.') placed in there, but the moment I
remove it, the data isn't imported, can anyone help?
$.ajax({
type: "GET",
url: "/sitemap.xml",
dataType: "xml",
Thank you!
--Carl.
On Mar 11, 7:54 am, Jörn Zaefferer
wrote:
> add if (this.optional(element)) return true; to the top. See any
> existing validation method for an example,
> orhttp://docs.jquery.com/Plugins/Validation/Validator/addMethod
>
> Jörn
>
> On Wed, Mar 11, 2009 at 12:43 PM, clorentz
Showing some code, specifically how you wire up this delete button
would be a help to others helping you
On Mar 11, 6:12 am, Dagnan wrote:
> Hi!
>
> I'm using tablesorter, which content is generated by a $.get (from a php
> script) when the page loads.
> I want to add to my table a column 'dele
Is there a way to make a node in the treeview expand/collapse ONLY if
the +/- is clicked but not the folder icon or folder name but still
make the node selectable?
I have a drop down that is being generated via load() - to be 100%
clear, I'll restate that. The drop down does not exist on the actual
page. I'm doing this:
$('#orderlineform #productlisting').load('orderProxy.cfm',
{
mode:'getAvailableProducts'
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;
http://www.w3.org/TR/html4/loose.dtd";>
http://code.jquery.com/jquery-latest.js";>
http://dev.jquery.com/view/trunk/plugi
What is the purpose of the ".get()" ?
The autocomplete plugin already has the ajax call all wired into it,
there's no need to do that on your own
$(document).ready(function(){
$("#example").autocomplete(
"test.php"
).result(function(a,data,c) {
you should be sanitising your sql aswell.
> Date: Wed, 11 Mar 2009 08:00:23 -0700
> Subject: [jQuery] Re: AutoComplete
> From: morni...@gmail.com
> To: jquery-en@googlegroups.com
>
>
> What is the purpose of the ".get()" ?
>
> The autocomplete plugin already has the ajax call all wired into i
http://gist.github.com/77516
// Use like : $(".myClass").borderRadius() will attempt to apply
curved corners as per the elements -moz-border-radius attribute
// Good:
// - supports textured forgrounds and backgrounds
// - maintains layouts
// - very easy to use
// - IE6 and IE7
// Bad:
// - not f
Do i access "data" like this;
$("example").html(data);
On Wed, Mar 11, 2009 at 3:11 PM, Joseph Le Brech wrote:
> you should be sanitising your sql aswell.
>
> > Date: Wed, 11 Mar 2009 08:00:23 -0700
> > Subject: [jQuery] Re: AutoComplete
> > From: morni...@gmail.com
> > To: jquery-en@googl
Thanks Dave!
var newElement = $("", opener.document).text("Mod State");
$(opener.document).find("#injectHere").append(newElement);
works great in MSIE7 & FF3.
On Mar 10, 5:47 pm, Dave Methvin
wrote:
> Try this:
>
> $("", opener.document)
>
> That way it will create the li element in t
you are assigning the html here to what's in data.
to access i think is data = $("example").text;
try this but breakpoint it in firebug, because in not using firefox right now.
Date: Wed, 11 Mar 2009 15:18:10 +
Subject: [jQuery] Re: AutoComplete
From: brightdad...@googlemail.com
To
I have done something like this;
$(document).ready(function(){
$("#example").autocomplete(
"test.php"
).result(function(a,data,c) {
// variable "data" has the value the user selected
$("example
How would one go about adapting this to be used with multiple lists on
one page.
I have 3-5 lists on each page and would only like to show the first 3
items of each with the ability to show the others.
On Feb 17, 5:16 am, mofle wrote:
> I'm using IE6 natively on an XP machine. jQuery 1.3.1.
>
Those examples don't make any sense
the first one
$("example").html(data);
the input box will already be filled with the "data" (which keep in
mind is what the user selected)
the second one
data = $("example").text;
the value of "data" is what the user selected and will already be
inside th
I'm trying to pass arguments to a function that's called from within
anonymous function that acts as an event handler for the click event.
The problem is that once a thumbnail(gallery.images[i]) is clicked the
startSlideshow function gets the final iteration's values passed as
the arguments, inste
Yea the exact same thing happened to me although i think it works for
click events. I had the same problem in ie7 too though. i just decided
to use the old way of event bubbling to get around although the jquery
lot did say they know it has issues.
On Mar 11, 2:19 pm, Todd Rafferty wrote:
> I ha
Not sure if this might be related to your problem:
http://groups.google.com/group/jquery-dev/browse_thread/thread/6d3de70e6f2c6ebe/908edb7729c03a3c?lnk=raot
I'd suggest trying to add a LI to the UL using standard DOM methods:
var li = document.createElement('li');
li.appendChild(document.createTe
Hi
I submit data to a page and load response content into a div using an
ajax POST request.
The response can contain new scripts to load and some which have been
already loaded by the main page. The browser does not sort out
already loaded/cached scripts because jquery adds an additional flag
to
Hi,
Switching content in same div which contains images and text.
As We see a product more views or red and blue
Default loads the red when u click on blue the image and description
changes. same when u click on red.
Help me out here
thanks
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 wo
Eric,
I am having the exact same issue with your (excellent) simplemodal
plugin. Could you please post your original reply to the group to help
others with this same problem?
Many thanks.
On Mar 11, 4:36 am, Eric Martin wrote:
> Ricardo,
>
> I believe I responded to your email, please let me k
Hi,
I have been looking for an answer, but for the love of God, can't find
any solution.
I have the validator working perfectly on FF and Safari, but can't get
it to work on IE. It's giving me a serious headache, but I'm sure I'm
missing something obvious.
This is the page I'm talking about:
ht
Hi everyone,
I have a problem with my validation on my form in IE (6 AND 7)
This is a part of my form:
boy
girl
My Validation script:
jQuery.validator.addMethod("defaultvalue", function(value,
element) {
return this.optional(element) || element.defaultValue !
I need to display a xml node attribute value in a cell. How can I do
it using the xmlmap?
I have XML like:
2
3
4
..
In the table's first cells I need to display
Arun Boppudi, 2, 3, 4
values respectively.
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
Hello Everyone,
I am looking to see if I should switch to jQuery but first need to
find jQuery's equivalent to Prototype JS's Ajax.Updater; new
Ajax.Updater("id", url, {method: 'post', parameters: pars});
Ajax.Updater allows you to simply update the content of a DIV.
ps.
I did find his plugin
Hi
I submit data to a page and load content to a div by a ajax POST
request.
The response can contain new scripts to load and some which have been
already load by the main page load. The browser does not sort out
already loaded/cachedscripts because jquery adds an additional flag to
the url which
hi,
i'm new to jquery, i'm currently using the validation plugin to
validate my forms.
here's my code
$.validator.setDefaults({
submitHandler: function() { alert("submitted!"); }
});
$().ready(function() {
$("#addrest").validate({
u can go here http://goingpublic.me/newbr/add.php using FF or opera
and press submit a couple of times and see what happens
You right!
Quick question though! Do you know how i can make the script pass the
character i type to be passed to the php script which intend return the
search result matching the character in the textbox?
I have type done something like this;
echo "Operator"; in my php and that is all i see whe
In the docs under Ajax, see the load() method.
http://docs.jquery.com/Ajax
http://docs.jquery.com/Ajax/load#urldatacallback
On Mar 11, 8:44 am, "so.phis.ti.kat" wrote:
> Hello Everyone,
>
> I am looking to see if I should switch to jQuery but first need to
> find jQuery's equivalent to Prototype
the characters the user types in is already added to the request to
the "test.php" file and is query string parameter "q"
if you fire up a tool like Firebug (for FireFox) or Fiddler (for IE)
and you'll see this happening in real time
On Mar 11, 12:35 pm, Bright Dadson
wrote:
> You right!
>
>
I believe Brian opted for the suggestion that doesn't involve string
munging; it's just using the natural index of the elements, no slicing
or dicing :)
On Mar 11, 1:01 am, Josh Powell wrote:
> *shrugs* up to you, brian means to use string.splice(a); where a =
> number of characters before the i
Help?
On Mar 9, 1:28 pm, Skedoozy wrote:
> I have a horizontal navbar that if the persons screen is under 1024
> wide it sticks out of the table.
>
> In Firefox it works fine so it's only an IE problem but one I need
> fixed.
>
> link
>
> http://dev2.azaz.com/
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/jque
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 t
> > Ajax.Updater allows you to simply update the content of a DIV.
If you want to go back to the super simple, you can update the inner
content of a div with:
$("#DIVID").html("CONTENT");
i.e. :
$("#blah").html("I've just been added to the div blah...");
Therefore, on your callback from th
I think it may be the table width your using for the section - you're
saying that you'll allow a 516 pixel width for the table - so it keeps
filling up the space.
If you want it to act like it does in firefox you could fake it by
putting a div on the right hand side of the page in a high up layer
You are absolutely right! it worked.
The only thing is i cannot highlight on individual result. If i click on a
select, the result from the database is taken.
Do you know how to make sure i can hover on a single result and select?
Thanks
On Wed, Mar 11, 2009 at 4:57 PM, MorningZ wrote:
>
> the
The following will give you a way to do what you want :
function UpdateMe(Type)
{
if (Type == "Blue")
{
$("#AreaToView").HTML("Blue Stuff");
} else {
$("#AreaToView").HTML("Red Stuff")
Andrew,
Typically this error is caused by binding issues. The best way to
prevent it is to make sure that you do any binding of elements in the
dialog in the onShow or onOpen callbacks. It is also a good idea to
use the simplemodal-close class on elements that cause the dialog to
close, as oppose
We'd love to help with this question over on the jQuery UI list:
http://groups.google.com/group/jquery-ui
- Richard
On Wed, Mar 11, 2009 at 12:24 PM, Paul Hutson
wrote:
>
> Hello,
>
> I've been having a problem with the UI.draggable and UI.droppable
> functionality. I've set up my screen like
On Mar 11, 6:03 pm, "Richard D. Worth" wrote:
> We'd love to help with this question over on the jQuery UI list:
>
> http://groups.google.com/group/jquery-ui
>
> - Richard
Apologies!, I've posted it over there now.
Here's a completely different (and admittedly problematic) approach.
Instead of creating new markup with a separate list, you could 'hide'
the LI's over a certain number with CSS, and then animate the
container. Here's a quick example:
JS:
$(document).ready(function(){
var ul = $('#myList
And that's what I get for skipping the middle; basically the same
solution as tres, just less code (and it works in IE6) :)
On Mar 11, 11:21 am, mkmanning wrote:
> Here's a completely different (and admittedly problematic) approach.
> Instead of creating new markup with a separate list, you coul
What if you split your messages up?
messages: {
name: {
required: "Namen eintragen"
}
email: {
required: "Eine gültige Email-Adresse eintragen",
email: "Invalid email format"
Hello:
If jquery itself does not support a tree widget toolkit,
can anyone recommend one, I've tried dojo but
two problems:
1)doesn't work - even verbatim example
2)No support
3)Very big system
Any comments or recommendation welcome.
thanks
tim
Can't you load both products, each in it's own container, and show/
hide them? That's easier and faster.
$('#products .blue').show();
$('#products .red').hide();
etc.
On Mar 11, 11:30 am, Desinger wrote:
> Hi,
>
> Product page would like to load different contents in same di
How about
$('#orderlineform #productlisting').load('orderProxy.cfm',
{
mode:'getAvailableProducts',
ordergrade_id:ordergrade_id,
order_id:order_id
},
function(){
$(this).find('#product_id').change
(isRentalActive);
});
On Mar 11, 11:19 am, Todd Rafferty wrote:
>
mkmanning,
I want to thank you for your contribution. I was able to understand
your example better (I just didn't get tres's version) and was able to
come up with the following js/code combo:
$(document).ready(function(){
$('ul').each(function(i) {
var ul
i fixed the issue, turns out putting a form tag inside a table tag
causes this problem
I've made too many changes to back up and check to see if this works,
but I appreciate the help. Next time I run into this, I'll attempt
this instead.
On Mar 11, 3:35 pm, ricardobeat wrote:
> How about
>
> $('#orderlineform #productlisting').load('orderProxy.cfm',
> {
> mode:'getAvailab
Just wrap your re-usable parts in a container with an ID. IDs have
greater weight on CSS rules, that will usually be enough. putting !
important on all your rules will bloat your code unnecessarily.
See this article on CSS specifity:
http://www.smashingmagazine.com/2007/07/27/css-specificity-thin
Is there anyway to account for padding on the li of each list? I have
padding which seems to be throwing off the calculations.
On Mar 11, 3:36 pm, Brian wrote:
> mkmanning,
>
> I want to thank you for your contribution. I was able to understand
> your example better (I just didn't get tres's ver
Thanks! Now how do I use it?!?!
Hahah. Specifically, let's say I wanted to check on the availablility
of an email address. How do I pass that email address to my PHP
script? I couldn't seem to locate an example on the server side
script, only the JS.
Tim
On Mar 11, 3:11 am, Jörn Zaefferer
wrot
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
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? Tha
If #zipCode is an input:
$('#zipCode').val().length
On Mar 11, 1:20 pm, Chuk wrote:
> 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)
>
$('#zipCode').val().length
On Mar 11, 10:20 am, Chuk wrote:
> 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)
> {
> ...
> }
>
> }
1 - 100 of 151 matches
Mail list logo