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 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
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
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
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 wrote:
>
> change the id of lastname of billing information to "billing_last_name"
>
> Thanks
>
>
> On Tue, Oct 20, 2009 at 5:44 PM, ReynierPM wrote:
>
>>
>> rupa
change the id of lastname of billing information to "billing_last_name"
Thanks
On Tue, Oct 20, 2009 at 5:44 PM, ReynierPM wrote:
>
> rupak mandal wrote:
>
>> Try this
>>
>> $("#billing_first_name1").attr("value",$("#shiping_first_name").val())
>> $("#billing_last_name1").attr("value",$("#sh
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 http://jose-couto.com/pintpal4/order_
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
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 wrote:
>
> Hi ... if u work with newer version of jquery, maybe u'll change $
> into jQuery
Hi ... if u work with newer version of jquery, maybe u'll change $
into jQuery :)
Hope it helps :)
regards
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
install firebug in your ff and you can see your js errors
On Tue, Oct 20, 2009 at 11:05 AM, ReynierPM 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:
>
>
> $().ready(function() {
> $('.corner').corner();
>
> $('#paypal_
Bi Jing wrote:
Weird, Its working on my IE/FF
I'm working with FF 3.5.3 also
This is my JS code:
$().ready(function() {
$('.corner').corner();
$('#paypal_form').validate({
rules: {
cc_number: {
required: true,
creditcard2: function() { return
Weird, Its working on my IE/FF
Same
First Name:
Middle Name:
function doCopy(){
$("#first_name1").val($("#first_name").val())
}
Do you get any js errors during viewing page.
On Tue, Oct 20, 2009 at 10:54 AM, ReynierPM wrote:
>
> Bi Jing wrote:
>
>> Sorr, I made mistake, there ar
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 wrote:
Nothing still not working
--
Saludos
ReynierPM
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 wrote:
>
> Bi Jing wrote:
>
>> HTML code:
>>
>> Copy
>>
>>
>>
>>
>>
>>
>
Charlie Griefer wrote:
Your selectors are incorrect. $('first_name1') looks for a
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 working
--
Sa
On Mon, Oct 19, 2009 at 7:28 PM, ReynierPM wrote:
>
> Isn't working.
>
> HTML Code:
> Same id="same" onclick="doCopy" />
>
> First Name: name="first_name" id="first_name" value="" size="" />
> Middle Name: id="first_name1" value="" size="" />
>
> JS Code:
> function doCopy(){
> $("first_name1
Bi Jing wrote:
HTML code:
Copy
JS code:
function doCopy(){
$("user2_name").val($("user1_name").val())
$("user2_pass").val($("user1_pass").val())
}
Isn't working.
HTML Code:
Same id="same" onclick="doCopy" />
First Name: name="first_name" id="first_name" value="" size="" />
Mi
HTML code:
Copy
JS code:
function doCopy(){
$("user2_name").val($("user1_name").val())
$("user2_pass").val($("user1_pass").val())
}
HTH.
Becoder.
On Tue, Oct 20, 2009 at 10:02 AM, ReynierPM wrote:
>
> Hi every:
> I need when a user pick a checkbox the content in one field is copied
20 matches
Mail list logo