Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10046

Re: How can i get value of text area?

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: How can i get value of text area?
Date 2013-07-09 08:07 -0400
Organization A noiseless patient Spider
Message-ID <krgu2d$kls$1@dont-email.me> (permalink)
References <d4d1b24a-9d60-4d25-8949-5fbf65d1fb27@googlegroups.com>

Show all headers | View raw


On 7/9/2013 7:55 AM, sanjayrathod273@gmail.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@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How can i get value of text area? sanjayrathod273@gmail.com - 2013-07-09 04:55 -0700
  Re: How can i get value of text area? Jerry Stuckle <jstucklex@attglobal.net> - 2013-07-09 08:07 -0400
  Re: How can i get value of text area? bill <william@TechServSys.com> - 2013-07-09 10:12 -0400
  Re: How can i get value of text area? Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-09 15:44 +0000
  Re: How can i get value of text area? Christoph Michael Becker <cmbecker69@arcor.de> - 2013-07-10 02:02 +0200
  Re: How can i get value of text area? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-10 22:25 +0200

csiph-web