Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

php using javascript objects

 
   Database Forums (Home) -> PHP RSS
Next:  Oracle DBA/ SAP Administrator Position- NYC  
Author Message
phdfromic

External


Since: Jan 06, 2005
Posts: 1



(Msg. 1) Posted: Sun Jan 08, 2006 11:13 am
Post subject: php using javascript objects
Archived from groups: comp>lang>php (more info?)

I want to initialize a TEXTAREA with text depending on the values
already selected in other areas - input type=TEXT or SELECT.

How can I set a PHP variable with a value retrieving those HTML object
values ?

 >> Stay informed about: php using javascript objects 
Back to top
Login to vote
Jerry Stuckle

External


Since: Aug 11, 2004
Posts: 1367



(Msg. 2) Posted: Mon Jan 09, 2006 7:51 am
Post subject: Re: php using javascript objects [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

wrote:
> I want to initialize a TEXTAREA with text depending on the values
> already selected in other areas - input type=TEXT or SELECT.
>
> How can I set a PHP variable with a value retrieving those HTML object
> values ?
>

First of all, PHP runs server side, not client side. So you can't
access the javascript objects in the client's browser.

You can get the info from the $_POST or $_GET variables (depending on
how you process your forms). But it means sending the page to the
server then sending it back to the browser.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.TakeThisOut@attglobal.net
==================

 >> Stay informed about: php using javascript objects 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
JavaScript to PHP? - I was just wondering that if it is possible to do almost anything you can do in JavaScript in PHP.

Javascript - I have a calendar formed with javascript. This line <script>this.form.orderdatefrom_Year_ID.value</script> returns the year-textbox.But in Javascript. How can I pass the javascript variable to php so to further use it?

php in javascript - I have create a checkbox,call getS function in onclick event. I append value of variable output with value $text. It works well but when I changed value of $text to a paragraph of text, it will occur error on the page. Please advise. Thanks. <script....

php within javascript - For a photo display I am using a javascript I found on the net (freeware). The Java script code has to be placed within head and /head tags The Java code consists of the start <script language="JavaScript1.2"> Then about 150 lines of ...

PHP or Javascript for this? - I'm wanting to create an hyperlink that will execute a mysql_query and then refresh the current page if it's clicked on. I've similar things created via javascript but didn't know if such was possible with PHP.
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]