Click here to Skip to main content
15,893,266 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi..
My question is simple.I have code in which there is a div and use jquery.Actually I'm creating sql query editor in which user insert query and i want to get this text in code behind and pass to sql command and dispay result to the user.I provided link in tried section.Keyword color change at runtime like in sql editor box.But I wana use replace div with text area or textbox.I try but color not changing,jquery not works.

What I have tried:

LINK
Posted
Comments
Sergey Alexandrovich Kryukov 18-Jun-16 3:02am    
Not clear. I can only guess: "keyword" means some elements inside your div, which change color during client-side runtime. With text area, it is impossible: the content is the pure text, the whole client area uses the same background and same foreground color (not counting selection).
—SA
Hameed Khan 18-Jun-16 4:12am    
but it's working.You can check my provided link
Hameed Khan 18-Jun-16 4:13am    
Then how can i do this ??Can i get div text in code behind by using this code??If not then how can i do this in textarea?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900