I have a function to select the row and that comes the selected value in the alert box. Now i want that value to store in the page instead of alert box.
Here is the function,
var generic_lookup_Enr_Rds_Section2009_selected = function(id, to_s) { alert(id + to_s)}
It brings the selected value into the alert box. Istead of alert the value i want to display the value into the page like a label or anything. Is it possible?
You might also want
append,prependor similar.You basically need to call the function with where you want to text to be. Say you have a
spansomewhere on your page with aclass="placeholder". No you can calladd("span.placeholder", "Some text that should be displayed in the span").idcan be any element on your page.to_sis any valid string or element that should be placed intoidfrom above.