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 #182094 is a reply to message #182093] Tue, 09 July 2013 12:07 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 7/9/2013 7:55 AM, sanjayrathod273(at)gmail(dot)com wrote:
> i have two files
> 1)index.php
> and
> 2)code.js
>
<snip lots of unrelated code>
>
>
> everything is run fine in my code. in code.js pre tags are replaced by textarea and the code in textarea should be run because this project is of online perl editor. so now my problem is i have alert the value of text area by this code
>
> var source = editor.getValue();
> alert(source);
>
> but that gives the blank pop up. so what i have to do for retrieve current value of textarea?
>

And your PHP question is?

There is no PHP in what you posted - only HTML and javascript.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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: Wed Nov 27 18:35:43 GMT 2024

Total time taken to generate the page: 0.04944 seconds