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+ ]))
formName: a form in my document
textInputField: a input type=text in my document
If I do this
alert($(form [name= +formName + ]
Hi,
I have this setup (pseudo code):
formA
table
td checkbox select select select
formB
table
td checkbox select select select
The checkbox select select select part is included so it is
identical in the 2 places (ie it is not possible to have different
id's)
What I want is that checking the
Hi,
I have this setup (pseudo code):
formA
table
td checkbox select select select
formB
table
td checkbox select select select
The checkbox select select select part is included so it is
identical in the 2 places (ie it is not possible to have different
id's)
What I want is that checking the
Hi,
I am trying to populate 3 selectboxes - one with years, months and
dates. The problem is that I keep getting a Javascript error in
Firebug. This is what I try:
I have this select:
select name=yearFrom style=visibility: hidden;/select // later
I set the select property to true
and I try to
Hi,
I make Ajax ($.get) calls and in the calback part I call a function
defined elsewhere. In FireFox this is no problem. When I checked in IE
however I kept getting an error 'object expected'. It took a while to
figure out that if I remove the _call_ to the function with the actual
function
Hi,
I make Ajax ($.get) calls and in the calback part I call a function
defined elsewhere. In FireFox this is no problem. When I checked in IE
however I kept getting an error 'object expected'. It took a while to
figure out that if I remove the _call_ to the function with the actual
function
Hi,
I have a div id=content that serves as a placeholder for text. The
text are all like
div id=about
test test test
/div
div id=links
link link link
/div
div id=contact
[EMAIL PROTECTED]
/div
When the user clicks a link, I use it's id attribute value
(about,contact or links). I use that
Ok, I found it:
$(xml).find('province').each(function(){
if($(select +/[EMAIL PROTECTED]+$(this).attr('id')+])){
select.append(option value=+$(this).attr('id')++$
(this).attr('name')+/option);
}
should be
$(province,xml).each(function(){
if($(select
Hi,I cannot get my finger behind this one:
I have this HTML:
p class=firstLineThis is the first line of the first paragraph/p
pAnd here is some more text. Bladibladibla/p
p class=firstLineThis is the first line of the secons paragraph/
p
pAnd here is some more text. Bladibladibla/p
p
Thanks Karl, this works. Very instructive - didn't know the syntax of
the is and ternary operator in jQuery. I'll check out learningjquery!
Marc
10 matches
Mail list logo