FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How can i get value of text area?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How can i get value of text area? [message #182103 is a reply to message #182093] Wed, 10 July 2013 00:02 Go to previous messageGo to previous message
Christoph Michael Bec is currently offline  Christoph Michael Bec
Messages: 207
Registered: June 2013
Karma:
Senior Member
sanjayrathod273(at)gmail(dot)com wrote:
> so what i have to do for retrieve current value of textarea?

It is probably best to ask in a CodeMirror related support forum/newsgroup.

However, a hint from glancing over the lengthy code: you're assigning
new CodeMirror instances to window.editor in a loop, so window.editor
contains the last instance that was created. You may consider
inspecting window.editors in the dev tools of your browser.[1]

And you may consider to get a real name, and to trim your code samples
to the required minimum to be able to reproduce the problem.[2] And you
may consider avoiding global variables as far as possible.[3]

[1] <http://devtoolsecrets.com/>
[2] <http://www.catb.org/esr/faqs/smart-questions.html>
[3] <http://c2.com/cgi/wiki?GlobalVariablesAreBad>

--
Christoph M. Becker
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help with Security Have I coded this correctly?
Next Topic: PHPMailer from and mesg-id bug
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 04:38:29 GMT 2024

Total time taken to generate the page: 0.03989 seconds