On Feb 18, 9:15 pm, Charlie22 ch...@post.cz wrote:
Hi all,
I have trouble passing value as selector value to other function.
$(document).ready(function(){
var id = 'Test';
$('#Name').keyup(function(){
id = '#Mobil';
If you want variables to be local to
On Jan 14, 11:00 am, Matt Maxwell leftwithoutli...@gmail.com wrote:
[...]
var that = this; // scope
The value of the this keyword has nothing whatever to do with scope.
--
Rob
On Jan 14, 3:29 am, Jack Killpatrick j...@ihwy.com wrote:
Hi All,
We've released a new version of our jQuery Validation plugin credit card
extension.
It is likely that such validation is more hassle than it's worth...
Changes include:
1. updated card prefixes (including latest Discover
On Jan 12, 1:24 pm, Nathan Klatt n8kl...@gmail.com wrote:
IE 6 use is 3 times that of Safari (all versions) depending on whose
statistics you believe. Why not drop support for Safari while you're
at it? And Opera and Chrome?
Because you don't have to do anything to support Safari or
On Jan 12, 5:51 am, Valerij valeri...@gmail.com wrote:
Hey guys, I have this popup menu that works.. great! In Chrome,
Safari, Firefox AND it USED to work in IE8, until I added just 1 div.
[...]
This works in all the browsers great even after I added this div, but
in IE8 it suddenly
On Jan 11, 10:47 pm, mikewse mike...@gmail.com wrote:
What is jQuery's long-term strategy for browser support - cut off
browsers after a certain number of years or when going below a certain
market share?
[I'm asking because of the current trend (among some webdevs and also
library
On Jan 8, 8:33 am, rich dottedq...@gmail.com wrote:
Hello all, I'm relatively new to JavaScript. I would like to loop
through all the elements within a form and grab their values and what
type of input they are. So far I came up with:
$(':input').each(function(idx, item) {
On Jan 5, 8:10 pm, Dave messedupp...@gmail.com wrote:
Hi
Wonder how I can convert a string to a json array.
From what you've posted below, you want to process a string and treat
parts of it as JSON objects.
//start code
var arrCss = [a___{'color':'red','font-weight':'bold'}, h1,h2___
On Dec 23, 2:06 pm, Leonardo Balter leonardo.bal...@gmail.com wrote:
Nah, make it sexier, use parenteses (tip from the new John Resig's ebook):
( var $ = window.jQuery;
$(#CollapseExpandTd).click(
function() {
$(#TreeviewTd).toggle();
$(#MenuBarTd).toggle();
});
);
On Dec 23, 6:58 am, jqHunter tinu.punn...@gmail.com wrote:
Hi All,
I have the following js function used in an old web app. How can I
translate this to equivalent jQuery code? Appreciate your help!
function expandCollapse_onclick()
{
var treeCell =
On Dec 22, 10:51 pm, Schalk Neethling volume4.sch...@gmail.com
wrote:
Hi there,
I was wondering whether anyone knows if the jQuery website has some sort
of API to access the search functionality of the site?
Stimulus, response...
form action=
div
input type=text name=queryText
On Dec 11, 5:46 am, MorningZ morni...@gmail.com wrote:
This isn't working out for me
Expecting it to?
First post you were comparing: string string... which isn't going
to work
Why not? If the strings are digits that convert to numbers, it will
work. Granted it isn't particularly
On Dec 11, 7:12 am, Josh Nathanson joshnathan...@gmail.com wrote:
Maybe try closing the option tag?
The closing tag is optional, there are numerous elements that don't
need closing tags in HTML.
--
Rob
On Dec 10, 3:24 am, T.J. Simmons theimmortal...@gmail.com wrote:
Yeah, I wasn't really sure it would work, but thought it was worth a try.
And the br/ br thing I think depends on the browser used and the
rendering mode it's forced into. What doctype are you using?
And for some more
Escape-Artist wrote:
Which site are you talking about?
You can check out more about us: Shaperstudio on
http://www.shaperstudio.com our site
There's no flash on the cpluv site.
Great, but the home page is over 800kb, half of which is script. Good
luck.
--
Rob
On Dec 8, 10:51 am, Escape-Artist tho...@shaperstudio.com wrote:
Hey all!
We just finished a site that is using a whole lot of jquery ( for ajax
submit, tabs, dialogs, transitions, DOM manipulations, ... )
Yeah! Great site! All I got was:
Sorry, you need the flash player to see this page! (
On Dec 2, 8:33 pm, Rich reholme...@googlemail.com wrote:
I have an unordered list which slidesdown to reveal a sub list on
click event. In the first li there is also a button that takes you to
another page.
When this button is pressed I don't want the slide down
to start, which it
On Dec 1, 12:41 am, Scott Sauyet scott.sau...@gmail.com wrote:
On Nov 29, 8:21 pm, breadwild breadw...@gmail.com wrote:
I have seen several examples on jQuery plugin sites that have the
script tag and Javascript within the body and not the head where
I thought it was supposed to go.
On Nov 12, 6:11 am, Karl Swedberg k...@englishrules.com wrote:
Are those tests really using jQuery 1.1.4? If so, they're hardly
relevant now, unless you're using a very old version of jQuery.
The tests are relevant in the context of the article. The point is
really about improving
On Nov 4, 6:22 am, bakman bakman.bak...@gmail.com wrote:
I am generating elements (img's) based on data from an xml file.
Once that is done, I want to determine the number of icons that were
generated.
as naive as i am, i do a: alert($('img').size())
result: 0, which isn't the case
how
On Oct 25, 4:37 pm, Giovanni Battista Lenoci gian...@gmail.com
wrote:
nick ha scritto: select id=one
option value=1 selectedone/option
option value=2two/option
option value=3three/option
/select
The right syntax is :
option value=1 selected=selectedone/option
Only if the
On Oct 25, 12:06 am, ram sriva...@gmail.com wrote:
This works fine in chrome and firefox but does not in IE6. i am yet to
try it out in IE 7. As you can see, i have an input field and when
user enters a value and clicks on Save, Jquery $(span.saveLink).click
(function() gets invoked which
On Oct 13, 1:34 pm, expresso dschin...@gmail.com wrote:
I don't think it's too hyped. Having calls to javascript in your
elements defeats the purpose of unobtrusively maintaining and using
libraries like jQuery.
The mechanism frequently used to attach such listeners is to add a
class, id,
On Oct 13, 10:49 am, CoffeeAddict dschin...@gmail.com wrote:
Am I wrong to say you should never use onclick in an element as this would be
contrary to the purpose of using jQuery
I think you have your design priorites backward. Firstly determine the
functionality required, then how to best
On Oct 12, 7:12 am, zephyr marc.at.comp...@gmail.com wrote:
Hi,
I have a form and want to select a text input element _in that
specific form_. This is my code:
$(form [name= +formName + ] :text[name= +textInputField+ ]))
Why not:
$(document.forms[formName].elements[inputName])
--
Rob
On Oct 8, 10:04 am, Ryan Crumley crum...@gmail.com wrote:
I am experiencing unexpected behavior using $(document).ready() on a
page where I inject jQuery after the page has loaded and then attach
listeners to the ready event. The ready() event is never called using
Firefox and Safari
On Oct 5, 12:13 am, Donny Kurnia donnykur...@gmail.com wrote:
[...]
15,000 should only displayed to user. You should keep 15000 somewhere in
the document. My favorite is using alt
span alt=15000 class=format15,000/span
alt is not a valid attribute for span elements.
--
Rob
On Oct 4, 7:06 am, Charlie charlie...@gmail.com wrote:
put all the bios in containers with same class, use javascript random()
function to create a random index to show one of the bios
$('.bioClass').hide()
var bioIndex=Math.round(Math.random()*5)
Using that formula, indices 0 and 5 have
On Oct 4, 2:45 pm, RobG robg...@gmail.com wrote:
[...]
which is the same as using Math.floor. To return a random integer
between 0 and n, use:
That should have been:
between 0 and n-1 inclusive.
function getRandomInt(n) {
return Math.random()*n | 0;
}
--
Rob
On Sep 30, 6:27 am, factoringcompare.com
firstfacto...@googlemail.com wrote:
Thank you. JQuery is completly new to me. OK how des the belo code
look?
script
$(document).ready(function(){
$(#test').blur(function () {
$('#test').val($('#test').val().replace(/,/g,''));
You
On Sep 30, 11:21 am, -JD- juhand...@gmail.com wrote:
Al cerrar una pagina necesito llamar a otra para poder hacer algunos
cambios en mi DB. Intenté con esto:
$(window).unload( function () { alert(Bye
now!); } );
Which is so much simpler than:
On Sep 30, 2:02 pm, Mike McNally emmecin...@gmail.com wrote:
In that it handles the case where distinct independent (mutually
unaware, even) portions of the page may want their own unload
callbacks invoked, I'd say so.
If you like breaking fast history navigation, go for it. Better to
avoid
On Sep 28, 9:21 pm, runrunforest craigco...@gmail.com wrote:
Hi, I'm making a calculator for freight customer
It seems I'm on the right path. But there is two bugs i need help.
The TOTAL TO PAY value always seem to appear as NaN at first instead
of default 3.
And the function of
On Sep 28, 1:26 pm, runrunforest craigco...@gmail.com wrote:
Hi,
I've got a script from dansblog (link
herehttp://blog.pengoworks.com/index.cfm/2008/1/23/jQuery-Calculation-Plu...)
I copied and presented it as below, its doesn't work. What I've done
incorrectly ?
Most such scripts are
On Sep 22, 8:17 pm, Alex Wibowo alexwib...@gmail.com wrote:
Hi...
I'm trying to write object-oriented style javascript as follows:
-
function HtmlFormUtil(formId){
this.formId=formId;
this.dirtyInputs=new Array();}
On Sep 22, 9:04 pm, RobG robg...@gmail.com wrote:
[...]
e.g. something like
function addOne() {
numChanged++;
}
var numChanged = 0;
var inputs = document.getElementsByTagName('input');
var i = inputs.length;
while (i--) {
inputs[i].onchange = numChanged;
Ooops
On Sep 22, 1:30 am, Mike McNally emmecin...@gmail.com wrote:
Advice to never use browser detection is good advice, but in my
experience it's simply impossible to follow. The bad behaviors of old
IE browsers - behaviors that are, in effect, bugs, and therefore not
features that obey any
On Sep 19, 6:53 am, amtames matt.a...@tnmed.org wrote:
Hi,
We recently had our site redeveloped by a professional firm. We
originally requested that users not be able to copy and paste text
from our site. This has created an outcry and we would like to have
text be selectable. I see that
On Sep 18, 1:32 am, ldexterldesign m...@ldexterldesign.co.uk wrote:
[...]
This still leaves the issue of targeting browsers with JS/jQuery.
You still seem to be missing the message: trying to compensate for
browser quirks by detecting specific browsers is a flawed strategy.
Browser detection
On Sep 15, 6:09 pm, sirrocco xavier...@gmail.com wrote:
Let's say you have a :
a href=# onclick='DoSomething(this);'asd/a
I want to get the onclick text in a variable - something like
var onclick = $('a').attr('onclick');
The problem is that the onclick variable now is a function and
On Sep 10, 9:49 am, Mr Speaker mrspea...@gmail.com wrote:
I think it's perfectly valid to have a div inside a script tag (or at
It is never valid markup in an HTML document, a div element can't be a
child of a script element.
least useful), if a div makes sense to the TYPE you defined for
On Sep 7, 3:42 pm, g...@iec abhi.pur...@gmail.com wrote:
Hi.can anybody help me out to come out of this
You many need to use getElementsByTagNameNS('*',tagName). To remove
nodes try:
this.parentNode.removeChild(this);
--
Rob
On Sep 6, 12:28 pm, din dingl...@gmail.com wrote:
TR
TD1/TD
TDJM-53/TD
TD--/TD
TD--/TD
TD--/TD
TDA href=#ROHs/A/TD/TR
TR
TD2/TD
TDJM-54/TD
TDA href=#ROHs/A/TD
TD--/TD
TD--/TD
TDA href=#ROHs/A/TD/TR
I want the value of href in
On Sep 6, 1:38 am, jeanph01 jeanp...@gmail.com wrote:
Using jQuery.support and without using jQuery.browser how would I know
if the browser would return nodes of Type of Text_Node ?
I don't think you need to know that at all - why do you think you need
to?
IE do not return text nodes.
My
On Sep 3, 3:32 am, burlistic burlis...@yahoo.co.uk wrote:
Hi All,
Not sure this is the best place for this question, but I hope someone
can help.
I have a form which requires a lot of client side validation. As this
takes a while I am using an overlay to stop access to the form.
That is
On Sep 4, 11:28 am, p_W paulwoolcoc...@gmail.com wrote:
I just wanted to address setAttribute real quick...correct me if I'm
wrong, but I was under the impression that IE does not support
setAttribute(), that you had to use dot notation for IE (so
element.attribute = value instead of
On Sep 3, 6:55 am, Rick Faircloth r...@whitestonemedia.com wrote:
I read that in an article dated October 17, 2008, that it was not possible
to change the actual
HTML in the DOM
There is no HTML in the DOM. HTML is used to create a DOM.
of the value attribute of a text input using
On Sep 3, 6:17 am, Matt Wilson m...@tplus1.com wrote:
I have a list of radio buttons, all with the same name, and each has a
different value.
I want a validator that tests if one is picked. How do I do this?
Set one as checked by default (as suggested by the W3C HTML
specification), no
On Sep 3, 1:25 pm, Rick Faircloth r...@whitestonemedia.com wrote:
Thanks for the explanation, Rob.
I'll have to check into setAttribute...am I correct in assuming
that setAttribute is a Javascript function, but not jQuery?
setAttribute is a DOM Core method of the Element interface[1].
On Aug 19, 3:29 am, resetstudio navy...@gmail.com wrote:
Hi everybody, how are you?
I have to save the state of a form in a var before submitting it with
the whole html, but if I alert the var, I get the original html
without the updated input fields.
Example:
I have
div
input
On Aug 12, 2:23 pm, Ming mcpm...@gmail.com wrote:
[...]
For example:
$.each(eval(response),function(key, item) {
alert(item.Account); //Work
alert(item.Amount); //Work
alert(item.Reference Date); //Fail
});
I have try
alert(item('Reference Date'));
alert(item['Reference
Hi i'm currently using the dialog functionality (modal form) from UI
library to submit data to the database. All the validation checks
have been running ok until one of the validation checks requires a
ajax call to check if a username exsist in the database. I'm fairly
new to both javascript
Hi Steven,
Thank you for your reply but i'm not sure i understand what you mean?
By having async set to false the script does wait for the value to
come back from the server before executing the rest of the script (i
can tell it does this because all the alerts i run to test it, run in
the order
Thank you, that has worked. I tried exactly the same thing before
because i though that returning the boolean from within the $.ajax
method might not work. However instead of using bool = true; i was
using var bool = true;. Have you any idea why using the prefix of
var would stop this working?
On Jul 31, 5:44 am, #micah micah.a.sm...@gmail.com wrote:
I've created a javascript object like so:
var myObj={
// internally used
OtherFunction: function(){ alert('hi');},
// externally used
EditInfo: function(){
this.OtherFunction();
}
};
On Jul 28, 5:09 am, Liam Byrne l...@onsight.ie wrote:
A letter count is FAR easier - just get the string's length.
The length of the string will give you a *character* count. I would
not inlcude punctuation, white space, etc. in a *letter* count. For
number of letters, try:
On Jul 28, 5:53 am, James james.gp@gmail.com wrote:
This:
(function() { do some stuff } )();
is known as a closure.
You have a warped view of a closure. It is an example of the module
pattern, which can create closures, but doesn't necessarily do so.
URL:
On Jul 24, 3:20 am, sleepwalker danielpaulr...@gmail.com wrote:
Eric you rock that's what I'm talking about!! Beautiful code man
thanks so much.
Learning is fun.
Don't confuse less with better, it is often slower to execute and
harder to maintain. The code I posted could be written as:
On Jul 23, 6:42 am, sleepwalker danielpaulr...@gmail.com wrote:
Hi,
I have a old script that adds a class to a button/submit/reset based
on the length of its value and I'd like to convert it to jquery. I'm
just looking for any suggestions on the best way to rewrite it.
Instead of code, can
On Jul 18, 9:40 am, son sco0...@yahoo.com wrote:
Thank you Rob.
I can't remember what make me use the XHTML doctype, I thought I had
some problem with running some jquery stuff, but not sure.
what is the ideal doctype the will work well with JQuery?
jQuery is irrelevant, the best (and
On Jul 17, 11:19 am, son sco0...@yahoo.com wrote:
Hi. My website,www.alljobsxchange.comwas developed with the use of
JQuery.
Yet another site using an XHTML doctype served as text/html, even to
browsers that understand XML. The W3C validator found 62 errors:
URL:
On Jul 15, 3:25 am, yasmine yasmina.ez...@gmail.com wrote:
Thanks, I didn't know about the javascript associative arrays.
Because javascript doesn't have them, it has objects that are simple
name/value pairs.
--
Rob
On Jul 13, 9:29 am, dnagir dna...@gmail.com wrote:
Anybody?
How can I check the ContentType header in the $.post callback?
Try the W3C XMLHttpRequest Object specification:
URL:
http://www.w3.org/TR/2006/WD-XMLHttpRequest-20060405/#dfn-getresponseheader
--
Rob
On Jul 7, 11:04 am, Josh Nathanson joshnathan...@gmail.com wrote:
You can't.
Of course you can.
You'll have to create a global variable outside document.ready:
var myFuncs = {};
Or just:
var foo;
or from within the ready function:
var global = (function(){return this;})();
On Jul 7, 8:11 pm, weidc mueller.juli...@googlemail.com wrote:
hi,
thats my code:
endpreis =Math.round(endpreis*100)/100;
to round the price of something but i'd like to have 2,00 or 2,50
instead of 2 and 2,5.
i'd be happy about any help.
To format a number in javascript with exactly
On Jul 8, 1:59 am, mkmanning michaell...@gmail.com wrote:
There are also some currency formatting plugins:
http://plugins.jquery.com/project/currencyFormat
That appears to make extensive use of toFixed(), which is known to be
buggy in some browsers for certain values. Try:
alert(
On Jul 7, 9:14 pm, Massimo Lombardo unwiredbr...@gmail.com wrote:
[...]
As I see you're dealing with cents, money and stuff, I have to
remember you that JavaScript use IEEE 754 Floating Points as its own
internal number type, so 0.1 + 0.2 !== 0.3: people tend to be very
picky when dealing
On Jun 24, 4:07 pm, Nic Hubbard nnhubb...@gmail.com wrote:
I have used an object in the past as a function argument, but this was
for a plugin that I wrote. Using it in the architecture of a plugin
it worked.
BUT, this time, I just want to write a normal function, but still use
an object
On Jun 23, 4:31 pm, anawak82 anawa...@googlemail.com wrote:
Hi Rob,
thank you for your quick reply!
Add a return statement to getPrice, maybe something like:
function getPrice(id) {
return $.get('db.xml', function(d){
...
});
I am sorry to say that this only
On Jun 23, 6:24 am, anawak82 anawa...@googlemail.com wrote:
Hi,
I am just trying to learn a little bit about jQuery. Now I have a
problem with returning a value from a function.
The following code works fine, when I tested it with alert(price) or
any other way of echoing the value
On Jun 17, 3:46 am, theprodigy tigerseyet...@gmail.com wrote:
I've been trying for a while to alter the second to last row of a
table. I've tried several ways. The number of rows is dynamic so I
can't hard code a number into nth-child. I used $rowNeeded =
On Jun 10, 7:44 am, psc petercar...@gmail.com wrote:
I am very new to javascript/jquery so bare with me. I am using this
loop code below with a populated array called listarray:
for(var i in listarray){
Don't use for..in to iterate over an Array, it can be problematic
unless you
On Jun 9, 11:23 am, David .Wu chan1...@gmail.com wrote:
if I have a menu, how to get the position of the option after I select
one of it?
for example, if I choose b, and the position should b 2.
select
optiona/option
optionb/option
optionc/option
/select
Select elements have a (zero
On Jun 6, 11:25 pm, Karl Swedberg k...@englishrules.com wrote:
You can make that first line a bit more compact:
$(li).removeClass(even odd)
It's still very inefficient. All that is required is for the LIs
below the deleted one to have their class swapped from odd to even and
vice versa.
On Jun 3, 6:48 pm, Mr J regis...@pharmeon.nl wrote:
hi all,
here is the scenario:
i have created an option on a website to give the possibity to the
user to change the font size (smaller, bigger, reset),
A complete waste of time. Modern browsers allow the user to control
the size of text
On May 31, 8:10 am, Ricardo ricardob...@gmail.com wrote:
myFunction()
and
window.myFunction
are not necessarily the same. the first one will look up the scope
chain and use the first ocurrence, it doesn't go directly to the
window object.
The second looks up the scope chain too and uses
On May 29, 5:32 am, David david.kar...@gmail.com wrote:
I need to select the lowest element containing a given string.
What does lowest mean? The one with the most ancestors, or the one
whose ancestors have the largest index of their siblings? e.g.
div id=d0
div
div
p id=p0
On May 28, 4:07 am, Karl Swedberg k...@englishrules.com wrote:
On May 26, 2009, at 9:05 PM, RobG wrote:
The choice is clear - the OP can simply stop using jQuery selectors
for those elements, or stop using jQuery (or any other CSS selector-
based framework) at all.
Really? That's
On May 27, 10:31 pm, dhoover dh.ferm...@gmail.com wrote:
I am a bit perplexed at why a simple bit of code I have is firing in
HTML but not in the equivalent XHTML.
Because it is extremely likely that your XHTML markup is being treated
as HTML, in which case...
[...]
And here is the XHTML
On May 27, 6:21 am, MorningZ morni...@gmail.com wrote:
So if you had:
input type=text id=user.name /
how would you apply a style to that?
Using a class or a selector other than the id.
can't say:
#user.name {
}
because that would look for
input type=text id=user class=name /
On May 25, 4:13 pm, Ricardo ricardob...@gmail.com wrote:
On May 24, 2:01 am, RobG rg...@iinet.net.au wrote:
Still good / applicable?
It is not on the recommended list at the comp.lang.javascript FAQ:
URL:http://www.jibbering.com/faq/#books
The guys at comp.lang.javascript have
On May 23, 1:12 am, finneycanhelp lovefin...@gmail.com wrote:
Have you read the book Pro JavaScript Techniques Published December
2006?
No.
Still good / applicable?
It is not on the recommended list at the comp.lang.javascript FAQ:
URL: http://www.jibbering.com/faq/#books
(book
On May 22, 2:43 pm, dnagir dna...@gmail.com wrote:
Hi,
Just wondering if there's some effect in JQ that we can use to
simulate rollover.
It doesn't require any javascript at all.
Usually when user hovers a mouse over a link/image it changes its src/
background to another one (for
On May 23, 6:48 am, Josh Powell seas...@gmail.com wrote:
[...]
Also, many of the jQuery examples are poorly constructed,
Depending on your point of view.
take the
'table' instance:
for (var i = 0; i 40; i++) {
$(table class='madetable'/table).appendTo(body).html
On May 20, 8:35 pm, Sourabh sourabhmkulka...@gmail.com wrote:
Hi
I am new to jQuery.I have a problem where I want to traverse through
DOM.For example a complete webpage.Is there any jQuery way to traverse
complete DOM of the current page where the jQuery script resides ?
Traversing the DOM
On May 15, 5:22 pm, Karthikraj karthik271...@gmail.com wrote:
But CSS :hover will not work in IE6. So better use script
Rubbish. The OP wants to use it on an A element, which
supports :hover in probably every browser since Navigator and IE 4, if
not older.
--
Rob
On May 15, 11:35 am, Calvin cstephe...@gmail.com wrote:
Hi,
I was able to get this script to work and was wondering if there was
a better/proper/more efficient way of writing it. Here is the script:
$(document).ready(function() {
$('li.a').hover(function() {
On May 12, 10:42 pm, Chandan learningbychan...@gmail.com wrote:
Hi,
I recently started using jQuery, thinking that it is FASTER than usual
javascript, but i found it is too slow when used with IE. I am using
IE 6/7.
jQuery is written in javascript, therefore it is unlikely that any
jQuery
On May 8, 10:52 am, Marv mcslay...@gmail.com wrote:
You may be morally correct
And technically correct.
but the label attribute of the option tag
is not widely supported:
Irrelevant.
--
Rob
On May 7, 9:42 am, Michael B. Williams mbw...@gmail.com wrote:
Consider the following select box:
select id=test
option value=/option
option label=XS value=1XS/option
option label=S value=2S/option
option label=M value=3M/option
option label=L value=4L/option
option label=XL
On May 8, 12:20 pm, RobG rg...@iinet.net.au wrote:
On May 7, 9:42 am, Michael B. Williams mbw...@gmail.com wrote:
Consider the following select box:
select id=test
option value=/option
option label=XS value=1XS/option
option label=S value=2S/option
option label=M value=3M
On May 1, 1:49 am, russellneufeld russellneuf...@gmail.com wrote:
Hi all,
I've got a set of forms which all act the same way - the form submit
is handled by the jQuery form plugin which redirects the output to a
div on the page. That means that when the user hits submit, the page
in
On May 7, 11:54 am, Ricardo ricardob...@gmail.com wrote:
On May 6, 10:23 am, Adam flynn...@gmail.com wrote:
Essentially, I'd like to know if there is any difference between
$(div.grandparent div.parent div.child)
and
$(div.grandparent).children(div.parent).children(div.child)
On May 7, 12:46 am, Jonathan Vanherpe (T T NV) jonat...@tnt.be
wrote:
Stephen Korecky wrote:
I tried that too, has same results...
On May 6, 9:35 am, Jonathan Vanherpe (T T NV) jonat...@tnt.be
wrote:
stephen wrote:
I created a test page
On Apr 29, 6:56 am, René renefourn...@gmail.com wrote:
Assuming:
select id=selector
option value=0 selected=selectedBoth/option
option value=1Red/option
option value=2Blue/option
option value=3Green/option
/select
a id=prevPrev/a
a id=nextNext/a
Just wondering if someone has
On Apr 28, 6:36 pm, David .Wu chan1...@gmail.com wrote:
img src=images/xxx.gif
$('img').attr('src') - This will get images/xxx.gif
How to get xxx.gif by jQuery?
img.src.replace(/.*\//, ''));
--
Rob
On Apr 25, 6:09 am, funkyasl amritas...@gmail.com wrote:
Hi all,
I'm a jquery newbie. I've been searching around the web a lot, but
could not find an answer.
My page has multiple forms (forma, formb, formc, etc). I want to
select one particular form, say formb, without assigning an id to
On Apr 24, 9:43 pm, dgb dgbur...@gmail.com wrote:
Hi,
I've got a reference to a TableCell and I'd like to use jQuery to get
the first instance of an IMG tag within that TableCell, but can't
get the syntax right, I understand how it would work if I were to
reference the TableCell by and ID
On Apr 21, 8:33 am, geocalleo gcalde...@gmail.com wrote:
Hi all, I was wondering if there is a way in jQuery for me to disable
a hover event for a few seconds and then execute it only if the mouse
pointer is still hovering over the particular element I have set the
hover event to.
So the
On Apr 17, 3:34 pm, RobG rg...@iinet.net.au wrote:
[...]
OK, here is a dead basic proof of concept. Of course it is nowhere
near production code, but I think you can see where it's going. I
would wrap the entire thing in the module pattern, but I've just used
basic globals at this stage
1 - 100 of 235 matches
Mail list logo