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

Javascript

 
   Database Forums (Home) -> PHP RSS
Next:  xml EVENT- HAVE A LOOK  
Author Message
m65

External


Since: Apr 04, 2006
Posts: 1



(Msg. 1) Posted: Tue Apr 04, 2006 6:55 am
Post subject: Javascript
Archived from groups: alt>php (more info?)

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?

 >> Stay informed about: Javascript 
Back to top
Login to vote
Markus Ernst

External


Since: Jan 12, 2006
Posts: 2



(Msg. 2) Posted: Tue Apr 04, 2006 8:55 am
Post subject: Re: Javascript [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

m65 DeleteThis @vivodinet.gr schrieb:
> 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?

You can't, as PHP is done at the moment the output is sent to the
browser where the javascript will be executed.
After submitting the form you can refer to
$_POST['orderdatefrom_Year_ID'] resp. $_GET['orderdatefrom_Year_ID'].

--
Markus

 >> Stay informed about: Javascript 
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.

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.

php using javascript objects - 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 ?
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada) (change)
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 ]