Re: [OT]Problem with accessing form Element using javaScript

2006-04-02 Thread Martin Marinschek
Co-ol! Martin tries to learn one thing a day, thanks Gerald for helping him out with today. style.cssText, a-ha. regards, Martin On 4/1/06, Gerald Müllan [EMAIL PROTECTED] wrote: I believe you can also access the style attribute over: elem.style.cssText = ...; this should also work.

Re: [OT]Problem with accessing form Element using javaScript

2006-04-02 Thread Gerald Müllan
Martin tries to learn one thing a day, thanks Gerald for helping him out with today. style.cssText, a-ha. I hope it`s a trueness a-ha session-learned for today :) cheers, Gerald regards, Martin On 4/1/06, Gerald Müllan [EMAIL PROTECTED] wrote: I believe you can also access the style

Re: [OT]Problem with accessing form Element using javaScript

2006-04-02 Thread Legolas Woodland
Martin Marinschek wrote: Co-ol! Martin tries to learn one thing a day, thanks Gerald for helping him out with today. style.cssText, a-ha. regards, Martin On 4/1/06, Gerald Mllan [EMAIL PROTECTED] wrote: I believe you can also access the style attribute over:

Re: [OT]Problem with accessing form Element using javaScript

2006-04-01 Thread Gerald Müllan
I believe you can also access the style attribute over: elem.style.cssText = ...; this should also work. cheers, Gerald On 4/1/06, Laurie Harper [EMAIL PROTECTED] wrote: Legolas Woodland wrote: Hi thank you for reading my post. I have this problem in my web application : generated

Re: [OT]Problem with accessing form Element using javaScript

2006-03-31 Thread Gerald Müllan
Have you stepped through it with a js debugger? You get the dom element? best regards, Gerald On 3/31/06, Legolas Woodland [EMAIL PROTECTED] wrote: Hi thank you for reply. forceId is just for myfaces , and for now i am not using myfaces. I change that to what you said and i still get

Re: [OT]Problem with accessing form Element using javaScript

2006-03-31 Thread Laurie Harper
Legolas Woodland wrote: Hi thank you for reading my post. I have this problem in my web application : generated html which i view in my browser has this : [code] span id=form1:staticText8 style=border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(0,

[OT]Problem with accessing form Element using javaScript

2006-03-30 Thread Legolas Woodland
Hi thank you for reading my post. I have this problem in my web application : generated html which i view in my browser has this : [code] span id=form1:staticText8 style=border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0); height: 15px;

Re: [OT]Problem with accessing form Element using javaScript

2006-03-30 Thread Gerald Müllan
Hi, stupid thing, but try it out with: var testValue = document.getElementById(form1:statictext8); testvalue.style = ...; I am more or less sure that this is the problem. In js you can not concat method calls in every case. Apart from that, getting the dom element through the generated id is

Re: [OT]Problem with accessing form Element using javaScript

2006-03-30 Thread Legolas Woodland
Hi thank you for reply. forceId is just for myfaces , and for now i am not using myfaces. I change that to what you said and i still get the same error from _javascript_ Console Error: staticText8 has no properties Source File: http://localhost:28081/pluto/portal/Publisher/... Line: 306