Hello!
Problem:
In my Project I habe 4 Multiline-Textboxes (textareas). On Callback to all Textboxes but the first the String "</anthemarea>" is added to the Textbox.
The error is in anthem.js in line 74:
Original (1.5.2):
var response = { responseText: doc.getElementById("response").value.replace(/<\/anthemarea>/, "</textarea>") };
Problem solved when changing in
var response = { responseText: doc.getElementById("response").value.replace(/<\/anthemarea>/g, "</textarea>") };
The "/g" replaces all of "</anthemarea>" to "</textarea>"
Hope you can confirm this bug?!
Dennis George
Logged In: YES
user_id=1245761
Originator: NO
Hello Dennis,
Do you have a sample page that you could attach? That would make it much easier to reproduce and confirm your fix.
Sample Page
Logged In: YES
user_id=688786
Originator: YES
Hi!
I user Visual Studio 2003 (.Net Framework 1.1). With Microsoft Internet Explorer Web Controls for my Tabs on the Page. Withing every Pageview of the Multipage there is a DIV with my Contols.
See aspx page attached.
Dennis
File Added: detail.aspx
Logged In: YES
user_id=688786
Originator: YES
The Javascript function replace replaces only the first found string. To replace all occurrences of a Strng you have to add the "g" to the regular expression.