Hi ... if u work with newer version of jquery, maybe u'll change $
into jQuery :)
Hope it helps :)
regards
Try this
$(#billing_first_name1).attr(value,$(#shiping_first_name).val())
$(#billing_last_name1).attr(value,$(#shiping_last_name).val())
Thanks
On Tue, Oct 20, 2009 at 8:55 AM, Ghprod greenhousep...@yahoo.co.id wrote:
Hi ... if u work with newer version of jquery, maybe u'll change $
Ghprod wrote:
Hi ... if u work with newer version of jquery, maybe u'll change $
into jQuery :)
With newer version you mean 1.3.2?
Hope it helps :)
regards
--
Saludos
ReynierPM
rupak mandal wrote:
Try this
$(#billing_first_name1).attr(value,$(#shiping_first_name).val())
$(#billing_last_name1).attr(value,$(#shiping_last_name).val())
Maybe I'm doing something wrong because it not works. Check the code
online at
change the id of lastname of billing information to billing_last_name
Thanks
On Tue, Oct 20, 2009 at 5:44 PM, ReynierPM rper...@uci.cu wrote:
rupak mandal wrote:
Try this
$(#billing_first_name1).attr(value,$(#shiping_first_name).val())
sorry
change the id of lastname of shiping information to shiping_first_name
Thanks
On Tue, Oct 20, 2009 at 6:04 PM, rupak mandal rupakn...@gmail.com wrote:
change the id of lastname of billing information to billing_last_name
Thanks
On Tue, Oct 20, 2009 at 5:44 PM, ReynierPM
rupak mandal wrote:
change the id of lastname of billing information to billing_last_name
Thanks a lot, that was the mistake. Now it works
--
Saludos
ReynierPM
rupak mandal wrote:
sorry
change the id of lastname of shiping information to shiping_first_name
I have another question related to this. How can I clear the fields if I
uncheck the checkbox? I mean when marked fill fields as I do until now
and when unmarked empty those fields? How can I
ReynierPM wrote:
rupak mandal wrote:
I have another question related to this. How can I clear the fields if I
uncheck the checkbox? I mean when marked fill fields as I do until now
and when unmarked empty those fields? How can I check when the checkbox
is checked or not?
Cheers
Reply by
function doCopy(){
if($('#same').is(':checked'))
{
$(#billing_first_name).attr(value,
$('#shiping_first_name').val());
}
else
{
$(#billing_first_name).attr(value,);
}
}
I have another question related to this. How can I clear the fields if I
HTML code:
input type=checkBox onclick=doCopy/Copy
form id=user1
input type=text id=user1_name /
input type=text id=user1_pass /
/form
form id=user2
input type=text id=user2_name /
input type=text id=user2_pass /
/form
JS code:
function doCopy(){
$(user2_name).val($(user1_name).val())
Bi Jing wrote:
HTML code:
input type=checkBox onclick=doCopy/Copy
form id=user1
input type=text id=user1_name /
input type=text id=user1_pass /
/form
form id=user2
input type=text id=user2_name /
input type=text id=user2_pass /
/form
JS code:
function doCopy(){
On Mon, Oct 19, 2009 at 7:28 PM, ReynierPM rper...@uci.cu wrote:
Isn't working.
HTML Code:
label for=same class=firstSame input type=checkbox name=same
id=same onclick=doCopy //label
label for=first_name class=firstFirst Name: input type=text
name=first_name id=first_name value= size=
Charlie Griefer wrote:
Your selectors are incorrect. $('first_name1') looks for a first_name
element in the DOM (there is none). You're referencing by ID, so you want
to preface the ID with a # sign (similar to CSS).
$('#first_name1').val($('#first_name').val())
Fixed and still without
Sorr, I made mistake, there are two wrong coding
No.1, onclick=doCopy()
No.2,
$(#user2_name).val($(#user1_name).val())
$(#user2_pass).val($(#user1_pass).val())
On Tue, Oct 20, 2009 at 10:28 AM, ReynierPM rper...@uci.cu wrote:
Bi Jing wrote:
HTML code:
input type=checkBox
Bi Jing wrote:
Sorr, I made mistake, there are two wrong coding
No.1, onclick=doCopy()
No.2,
$(#user2_name).val($(#user1_name).val())
On Tue, Oct 20, 2009 at 10:28 AM, ReynierPM rper...@uci.cu wrote:
Nothing still not working
--
Saludos
ReynierPM
Weird, Its working on my IE/FF
BODY
label for=same class=firstSame input type=checkbox name=same
id=same onclick=doCopy() //label
label for=first_name class=firstFirst Name: input type=text
name=first_name id=first_name value= size= //label
label for=first_name1Middle Name: input type=text
Bi Jing wrote:
Weird, Its working on my IE/FF
I'm working with FF 3.5.3 also
This is my JS code:
script type=text/javascript
$().ready(function() {
$('.corner').corner();
$('#paypal_form').validate({
rules: {
cc_number: {
required: true,
install firebug in your ff and you can see your js errors
On Tue, Oct 20, 2009 at 11:05 AM, ReynierPM rper...@uci.cu wrote:
Bi Jing wrote:
Weird, Its working on my IE/FF
I'm working with FF 3.5.3 also
This is my JS code:
script type=text/javascript
$().ready(function() {
Conrad Cheng wrote:
install firebug in your ff and you can see your js errors
I have installed but can't find where to see errors
--
Saludos
ReynierPM
20 matches
Mail list logo