[jQuery] Re: Simple function question...

2009-04-10 Thread Po01
Got it, used append instead of html. Thanks. On 10 abr, 04:23, Po01 wrote: > Hi! > I have i simple function like this: > > function a() > { >   $('#a').html("text");} > > > > So, when i use that, it set the whole div a as text, how can i only > INCREMENT the "text" string to the div?

[jQuery] Simple function question...

2009-04-10 Thread Po01
Hi! I have i simple function like this: function a() { $('#a').html("text"); } So, when i use that, it set the whole div a as text, how can i only INCREMENT the "text" string to the div?

[jQuery] Re: Form inside Form value

2009-02-27 Thread Po01
Can you give me a different way? I cant believe its impossible to get the value of a field inside a form when both are inside another form. Thanks. On 27 fev, 18:34, tres wrote: > Do it a different way. > > On Feb 28, 6:20 am, Po01 wrote: > > > Oh, and i know its not under &q

[jQuery] Re: Form inside Form value

2009-02-27 Thread Po01
Oh, and i know its not under "webstandarts" but i really need to get the value. Yes the email is the name of the label field. On 27 fev, 16:14, Po01 wrote: > Tried the $("form2 field").val(); but remember that form2 is a > variable, tried some stuff but it doesnt

[jQuery] Re: Form inside Form value

2009-02-27 Thread Po01
m/cyecufhttp://tinyurl.com/ahvxzc > > http://tinyurl.com/8rwmkr > > http://tinyurl.com/7wbm8o > > On 2/27/09, Po01 wrote: > > > > > Hi, i have a HTML like that: > > > > > > > > > > > > > > Supposing the field name is emai

[jQuery] Form inside Form value

2009-02-27 Thread Po01
Hi, i have a HTML like that: Supposing the field name is email, how can i get its value using Javascript/JQuery? I tried some stuff.. without success.. The form 2 name Im getting as a variable, like: function values(id) { var ID = id; var Form2 = "#form2_" + ID; ... } So i need a code tha

[jQuery] Problems...

2009-02-10 Thread Po01
Hi, i have a function like this: function test(s, t, c) { var Ss = "#" + s; var S = "#" + s + cod; if(t == 1) { $(S).empty().html("- "+s); $(Ss).show(); } else { $(S).empty().html("+ "+s); $(Ss).hide(); } } Can you guys understand what im trying to do... I wanna ge