Hi all,
I am new to jquery. My close click event function dosen't
work, when ever i append new html data to my div. Intially it is
working fine with static data. Please help me to fix this problem.
$(function()
{
$(#addrow).click(function()
{
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 michealg...@gmail.com wrote:
Hi!
How can I reload page [05 seconds gap] after successful ajax reply
from server. Like youtube shows SUCCESS message and then whole
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 m...@ampersand.net.au wrote:
Hi.
I have two select boxes for differrent classes of
*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
hughes.timo...@gmail.com wrote:
You'll have to forgive me if this question sounds easy but I am fairly
Using the validation plugin, set a required-rule for each field, after
removing the value from the 0-option, that is, change it to option
value0/option
Jörn
On Wed, Mar 11, 2009 at 6:57 AM, Mark King m...@ampersand.net.au wrote:
Hi.
I have two select boxes for differrent classes of tickets
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
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 sure.2...@gmail.com
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 d.cheka...@gmail.com wrote:
That's because events are binded to existing elements.
If you're using 1.3.x, take a
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
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 morni...@gmail.com 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
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 =
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
Thanks Karl,
It worked perfect.
On Tue, Mar 10, 2009 at 7:01 PM, Karl Swedberg k...@englishrules.comwrote:
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:
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 -
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
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 :
hi,
i new to jquery, i'm using the jquery validation to validate my form.
using this code
script src=includes/jquery/jquery.validate.js type=text/
javascript/script
script src=includes/jquery/cmxforms.js type=text/javascript/
script
script type=text/javascript
$.validator.setDefaults({
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
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 kureik...@gmail.com wrote:
I'm using sortable of jQuery UI!
My elements such as UL tag, LI
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
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
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
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 waltherl...@gmail.com wrote:
I'm not using
Ah, that worked. Thanks.
Walther
On Mar 11, 2:15 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
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,
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
data
emplist
employee
empcode10/empcode
empnameraj/empname
employee
employee
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 danv...@gmail.com wrote:
I am having an issue
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:
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 david.0pl...@gmail.com
wrote:
I need to have this:
function nuovo_articoloPOST(){
Call this before the $.post call:
tinyMCE.triggerSave(true,true);
On Feb 13, 9:48 pm, david.0pl...@gmail.com 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 a href=http://baustelle.besucherring.org/frontend/
karte.htmpage/a 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(p id=\kartenort\/p);
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 joern.zaeffe...@googlemail.com
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,
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 dag...@gmail.com 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
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;
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head
script
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 it,
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
Do i access data like this;
$(example).html(data);
On Wed, Mar 11, 2009 at 3:11 PM, Joseph Le Brech jlebr...@hotmail.comwrote:
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:
Thanks Dave!
script type=text/javascript
var newElement = $(li /, opener.document).text(Mod State);
$(opener.document).find(#injectHere).append(newElement);
/script
works great in MSIE7 FF3.
/script On Mar 10, 5:47 pm, Dave Methvin dave.meth...@gmail.com
wrote:
Try this:
$(li /,
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;
script
$(document).ready(function(){
$(#example).autocomplete(
test.php
).result(function(a,data,c) {
// variable data has the value the user selected
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 mofl...@gmail.com wrote:
I'm using IE6 natively on an XP machine.
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 the input
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,
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
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');
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
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 emarti...@gmail.com wrote:
Ricardo,
I believe I responded to your
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:
Hi everyone,
I have a problem with my validation on my form in IE (6 AND 7)
This is a part of my form:
p
label for=boy class=radiospanboy/spaninput type=radio
id=boy name=sex value=boy //label
label for=girl id=radio_girl class=radiospangirl/
spaninput type=radio id=girl name=sex
I need to display a xml node attribute value in a cell. How can I do
it using the xmlmap?
I have XML like:
rows
row
cell1 attribute1=Arun Boppudi /
cell22/cell2
cell33/cell3
cell44/cell4
/row
..
/rows
In the table's first cells I need to display
Arun
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
hi,
i'm new to jquery, i'm currently using the validation plugin to
validate my forms.
here's my code
script src=includes/jquery/jquery.validate.js type=text/
javascript/script
script src=includes/jquery/cmxforms.js type=text/javascript/
script
script type=text/javascript
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 when
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 see.marlon@gmail.com wrote:
Hello Everyone,
I am looking to see if I should switch to jQuery but first need to
find jQuery's
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 brightdad...@googlemail.com
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 seas...@gmail.com wrote:
*shrugs* up to you, brian means to use string.splice(a); where a =
number of
Help?
On Mar 9, 1:28 pm, Skedoozy skedo...@gmail.com 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
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
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
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. :
div id=blah/div
script
$(#blah).html(I've just been added to the div blah...);
/script
Therefore, on
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
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
The following will give you a way to do what you want :
script
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
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
hutsonphu...@googlemail.comwrote:
Hello,
I've been having a problem with the UI.draggable and UI.droppable
functionality. I've
On Mar 11, 6:03 pm, Richard D. Worth rdwo...@gmail.com 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.
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 michaell...@gmail.com wrote:
Here's a completely different (and admittedly problematic) approach.
Instead of creating new markup with a
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.
div id=products
div class=red
/div
div class=blue style=display:none
/div
/div
$('#products .blue').show();
$('#products .red').hide();
etc.
On Mar 11, 11:30 am, Desinger
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
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
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 ricardob...@gmail.com wrote:
How about
$('#orderlineform #productlisting').load('orderProxy.cfm',
{
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:
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 byano...@gmail.com wrote:
mkmanning,
I want to thank you for your contribution. I was able to understand
your example better (I just didn't
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
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?
If #zipCode is an input:
$('#zipCode').val().length
On Mar 11, 1:20 pm, Chuk violinssoundc...@gmail.com 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').val().length
On Mar 11, 10:20 am, Chuk violinssoundc...@gmail.com 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)
{
Hello -
I'm using Klaus' Tabs plugin (Version: 2.7.4) with jQuery 1.2.6, but
the triggerTab() function just isn't working for me in Safari 3. No
matter how I create Back and Next buttons or links, Safari instead
tries to load a new page (e.g., http://mydomain.com/?#start) instead
of switching
You could add the padding to the calculation, but that's pretty ugly.
Instead you could calculate the height differently, for each LI
element (this would also take into account if any LI's wrapped due to
content length):
CSS:
ul {
width:100px;
}
li{
padding:5px;
}
HTML:
a href=#
hi,
Is there a fix for email validation?
at this time also emails like a...@e.f are valid.
I like that validation script, but it is not really usefull if the
validation of an email doesn't work.
best regards,
mcreisi
Can You please remove me from jquery newsletter
I have:
form method=post action=/rejestracja table
input type=text name=sf_guard_user[username]
id=sf_guard_user_username //td
input type=submit name=register value=Zarejestruj /
/form
p id=information/p
I would like after each change in input 'sf_guard_user_username' write
something
1 - 100 of 145 matches
Mail list logo