|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
HTMLeditor - Error: 'selFont' is undefined
Please, can someone help me.
I've put together the newsposts.asp file to the best of my ability, but consistently get the error stated above or something like it, i.e. some object is not defined for the JavaScript to run. I get the error when I click on the 'toggle HTML' button. I have included the site files. If I remove the <form> </form> tags that surround the massive html table(s) portion the page (newsposts.asp) the toggle switch will work fine. I'm at a loss as to the cause of this Error: 'selFont' is undefined message. Your assistance is most (deperately) appreciated. R. |
|
#2
|
|||
|
|||
|
Hey Hey,
Simple fix. Replace any calls to selFont in your JavaScript code with document.all.selFont or document.form1.selFont replacing form1 with the name/id of your form ![]() |
|
#3
|
|||
|
|||
|
Yee haaah !
Yes, that worked. Thank you oh so much.
I guess I gotta go read up on the properties of the document object. Thanks again. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > HTMLeditor - Error: 'selFont' is undefined |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|