Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to call onload() from Datatable  RSS feed

suman roy
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am having a javascript which actually change the color of the selected row when a radio button is clicked. The radio button is present on the data table.

script :

I am calling this from a radio select in a data table :


When I am going to next and coming back to the form, the radio button is selected, but the highlighting is not shown for the particular row.

The reason is I am calling the javascript function from onclickk method of the outputLinkEx.

Can anybody guide me how to I display the selected row after coming back to the page? May be I have to call the method from onload.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!