URGANT help in asp script call back
-
Hi i'm using asp javascript call back to retrieve a text from the server and i want to highlight the keywords in the retrieved text using a highlight function written in ac# script on the client. Now i have a problem in calling the highlight function after getting control back from the server in the client script, the highlight function is never called after getting back!! here's the javasript code: function GetMessageFromServer() { CallServer(); } function ReceiveServerData(rValue) { //Label1 is a hidden label inorder to pass the // string retrieved from the server to the highlight function document.forms[0]['Label1'].Text=rValue; if(rValue!="") { //calling the highlight function <% if( ! (Label1.Text.Equals(""))) { lbl.Text=Highlight(Label1.Text,"test me please!!"); } %>; } } help is highly appreciated, Thanx
-
Hi i'm using asp javascript call back to retrieve a text from the server and i want to highlight the keywords in the retrieved text using a highlight function written in ac# script on the client. Now i have a problem in calling the highlight function after getting control back from the server in the client script, the highlight function is never called after getting back!! here's the javasript code: function GetMessageFromServer() { CallServer(); } function ReceiveServerData(rValue) { //Label1 is a hidden label inorder to pass the // string retrieved from the server to the highlight function document.forms[0]['Label1'].Text=rValue; if(rValue!="") { //calling the highlight function <% if( ! (Label1.Text.Equals(""))) { lbl.Text=Highlight(Label1.Text,"test me please!!"); } %>; } } help is highly appreciated, Thanx
r_jaz wrote:
URGANT
You may get a faster response if you don't label your post as URGENT (or URGANT as per your preference)