Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Simple javascript issue in html

Avatar

Avatar
Level 2
_jadobe_
Level 2

Likes

0 likes

Total Posts

18 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
_jadobe_
Level 2

Likes

0 likes

Total Posts

18 posts

Correct Reply

0 solutions
View profile
_jadobe_
Level 2

30-01-2009

Hi All,

I have a javascript code, which i written in the initialize event of a check box( This code works fine when view in pdf but not working in html)

-----------------------------------------------------

if( this.rawValue == 1 ){

this.resolveNode("level_A1").presence = "visible";

this.resolveNode("g_masterDevScope[1]").rawValue = 0;

this.resolveNode("level_A2").presence = "hidden";

}

else{

this.resolveNode("level_A1").presence = "hidden";

}

-----------------------------------------------------

this is giving following error message

Javascript error: TypeError: this.resolveNode("level_A1")has no properties



Any insights into this issue will be very helpful.



Thanks

JJ

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

09-02-2009

Try putting the complete path to level_A1 inot the expression.



form1.page1.subform1.level_A1