Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

innerHTML function

Status
Not open for further replies.

dexeloper

Programmer
Oct 26, 2004
162
GB
Is there any problem with creating a javascript function via the 'innerHTML' property of an element. I don't seem able to reference the function when I try this. (working in Ajax mode).
 
I also don't think you can do this. You will probably have to use the DOM method of creating the element.

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top