mamuscia
asked on
javascript to highlight table row in opener window
I have a page that contains an HTML table. Within a cell in each row, I have an edit image and when clicked, opens a new window with target='_blank'. On that newly opened widow, if the user successfully updates and save the form data that is presented, I want to highlight the row on the calling window's table with background green. If they did not successfully save the form I want to highlight the row on the calling window's table with background silver.
The same javascript file is used within the parent and newly opened window.
thanks.
The same javascript file is used within the parent and newly opened window.
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tried it again and it works like a charm. thanks.
I misspelled getelementbyid.....!!!
I misspelled getelementbyid.....!!!
Great, I was about to look into it again.
Glad it worked for you
Glad it worked for you
ASKER
Do I need to hard code a literal in the getElementById? I used firebug and the variables contain the correct values.
Open in new window