Cursor Location in Freetextbox
-
Hi All I am getting problem in putting text at the cursor location in freetext box which is place in a Place holder and . My code is as follows:
First Name Last Name Email
the statement
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"is working fine but when i change it to get value instead of text as
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"its not showing any thing in the freetext box. Please help me Thanks wajans
-
Hi All I am getting problem in putting text at the cursor location in freetext box which is place in a Place holder and . My code is as follows:
First Name Last Name Email
the statement
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"is working fine but when i change it to get value instead of text as
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"its not showing any thing in the freetext box. Please help me Thanks wajans
Hi All I am getting problem in putting text at the cursor location in freetext box which is place in a Place holder and . My code is as follows:
First Name Last Name Email
the statement
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"is working fine but when i change it to get value instead of text as
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].value);"its not showing any thing in the freetext box. Please help me Thanks wajans
-
Hi All I am getting problem in putting text at the cursor location in freetext box which is place in a Place holder and . My code is as follows:
First Name Last Name Email
the statement
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"is working fine but when i change it to get value instead of text as
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].value);"its not showing any thing in the freetext box. Please help me Thanks wajans
hi I have same problem. I have a freetextbox, a button and a hidden field I want to insert the hidden field value at cursor position in freetextbox by pressing the buttion. How I can do it using the "FTB_API['FreeTextBox1'].InsertHtml(HiddenField1.value);" Please send me complete code. Code that you used in Code behind file, Javascript and html I am stucked from last week Thanks