Microsoft
Software
Hardware
Network
Question : Javascript reload functions
Hi,
In my JavaScript I change the HTML with:
save_content=obj.innerHTML
;
obj.innerHTML=xxx;
...
..
obj.innerHTML=save_content
; // restore the origional content.
When I restore the origional content the events (onclick, onchange...) don't work.
If I do window.location.reload they work again, but this takes time because it realods the page.
Is there a way to only reload the functions...?
Answer : Javascript reload functions
I found out that the solution is to use the .live functiob from jQuery
Random Solutions
blueberries- only in NJ?
Change name of Exchange email account and user logon
Connector/Net no longer supports server versions prior to 4.1
Cannot enter data from the query based datasheet
Quick Launch Tool Bar
Ajax compatibility problem with IE and Firefox
WRT54G2 Linksys router - reset password saving actual configuration
Sorry, VMware GO doesn't currently support ESXi servers with multiple datastores.
Javascript - how to add number to field name (dynamic field add script)
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions