I've got an issue that obviously has to do with how a layer generates it's contents.
 
I'm working on a program that takes data from a js object and fills a layer with it. The display on the layer can either be straight text, or toggled to a form for editing the info.
 
The issue is that, though the data appears correct being just straight text, when it is pulled into the form fields, it is not complete - dropping the info after spaces or punctuation (specifically an apostrophe)
 
Here's an example: when the data =" "Hot" Dog"...

html+="<td>"+curEvent.Food[cnt].ItemName+"</td>"; ...generates the info correctly as "Hot Dog".

However, when refreshed into a form...

html+="Food/Drink: <input type='text' name='txtFoodItem"+disnum+"' size='10' value="+curEvent.Food[cnt].ItemName+">&nbsp;";  ...generates the info as "Hot" in the form field.

If the display is again toggled to straight display, it again displays correctly. Where is this in the DynAPI? Has anyone had this issue before?

Display is on IE 5, BTW

 

Reply via email to