upgrade from 54a to 55i problem

Denver Dave
08-06-27 09:01
Not sure, but your issue might have to do with 55i supporting multiple text areas.  Here are the critical pieces of my form:

<form name="form1" action=

echo '<tr><td bgcolor="#ffffff"><textarea id="m1l1"   
name="m1l1" cols="100" rows="25">' 
htmlspecialchars($m1l1) . '</textarea>';

?>
<script type="text/javascript">
makeWhizzyWig("m1l1",myButtons);
</script>

<?php

echo '</td></tr>'."\n";

echo '<tr><td bgcolor="#ffffff"><textarea id="m2l1"   
name="m2l1" cols="100" rows="25">' 
htmlspecialchars($m2l1) . '</textarea>';

?>
<script type="text/javascript">
makeWhizzyWig("m2l1",myButtons);
</script>

</td></tr>

Hope you see something that might help.  I think the message indicates that the JavaScript is not finding the text area.


upgrade from 54a to 55i problem
Markku
08-06-23 16:55
Hi,

I have working environment with whizzywig.js version 54a. When I upgrade whizzywig.js version 54a to a new version 55i, I always get blank editor field (no page data loaded). Both IE and Firefox says:

Error: document.getElementById(idTa) has no properties
Sourcefile: whizzywig.htm?edit3
Row: 16  (document.getElementById(idTa).value = (el.nodeName == 'TEXTAREA') ? el.value : el.innerHTML;)

How can I fix this?

Thanks in advance

Markku

New Message


Your message

Type in these letters/numbers Type in this code (prevents automated submissions).
Can't make it out? Double click it for new code.


hide menu | Show caps
Google