Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
javascript-events
- Page 1
Re: Improve HAVING BY performance
Programming
Databases
2 Months Ago
by Biiim
… after the page has loaded, I moved to AJAX &
Javascript
websites like 6 or 7 years ago - let the DOM… load and use
javascript
to put the data in after it has already rendered… the backend updates the data instantly over SSE(server sent
events
) so the react app keeps up to date without needing…
Re: Improve HAVING BY performance
Programming
Databases
2 Months Ago
by Dani
… after the page has loaded, I moved to AJAX &
Javascript
websites like 6 or 7 years ago - let the DOM… load and use
javascript
to put the data in after it has already rendered… the backend updates the data instantly over SSE(server sent
events
) so the react app keeps up to date without needing…
Re: Javascript won't play
Programming
Web Development
8 Years Ago
by SimonIoa
…({inline:true, width:"50%"}); //Example of preserving a
JavaScript
event for inline calls. $("#click").click(function(){ $('#click…;/p> <p>The inline option preserves bound
JavaScript
events
and changes, and it puts the content back where it…
Re: javascript regular expression problem
Programming
Web Development
16 Years Ago
by peter_budo
JavaScript
is not Java or JSP ! ! ! Post moved to
JavaScript
section...
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
… you how to call php function and trigger the javascripts
events
. 1. [U]myfunction()[/U] is php a function. 2. [U… call it transfer the arguments to [U]
javascript
()[/U] 4. [U]trigger [/U]the
events
button. 5. it works!!! Wow! cool! forever…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
14 Years Ago
by lat78
… function when you click call the onchange
events
on
javascript
. [code=php]function myfunction(){ $x…;head> <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { b …;head> <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { b …
Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
… website said that php is on server side and
javascript
is on client side...they said we cannot run…can run php function when you click call the onchange
events
on
javascript
. [code=php]function myfunction(){ $x="I …gt; <head> <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { b = "&…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
… code in your browser, no PHP there. PHP = Server Side
Javascript
= Client Side You can use pre-defined PHP variables in… am not after of running the whole program in pure
javascript
...I am just want to prove that the php function… is working and can run in javascripts
events
. Meaning if there are some code on your web that…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
… function and trigger the javascripts
events
. 1. myfunction() is php function. 2. I call transfer to
javascript
() 3. trigger the button. What…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
…gt; </head> <body onLoad="
javascript
:attach_file( 'mysql_insert.php' ) ; show_status('Ready...'); "… Here to Insert into Mysql..." onClick="
javascript
:attach_file( 'mysql_insert.php?u_name=' + u_name.value …' <?php header( 'Content-Type: text/
javascript
' ); //database info: Change password and DB Name…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
… as typing [code=html] <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { b = "I love…> <head> <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { b = "<?=myfunction…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by cwarn23
…your theory below is some code the will prove that
javascript
cannot communicate with php: [CODE=php]<? function …gt; <head> <script language="
javascript
" type="text/
javascript
"> function ILovePHP(var1) { b = &…to php. So try entering the text in the
javascript
function and getting php to process it and you …
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by somedude3488
… anything. php is putting that to the browser, not the
javascript
. view the source of the page. there will be nothing… in the write function of the
javascript
. how about you accept the truth. its how php works…wouldn't of even posted this in the first place.
javascript
CANNOT run a php function, period. you can have the…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
…; <head> <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { window.document.writeln('&…Don't tell that you cannot run php function in
javascript
...because it is server side etc... etc... do you… You can refresh a new page with php and
javascript
command on it and I beleived that on that new…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
…style> </head> <body onLoad="
javascript
:attach_file( 'mysql_insert.php' ) ; show_status('Ready...'); "…Click Here to Insert into Mysql..." onClick="
javascript
:attach_file( 'mysql_insert.php?u_name=' + u_name.value +…php' <?php header( 'Content-Type: text/
javascript
' ); //database info: Change password and DB Name …
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by Will Gresham
… as typing [code=html] <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { b = "I love…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by Will Gresham
… code in your browser, no PHP there. PHP = Server Side
Javascript
= Client Side You can use pre-defined PHP variables in…
Javascript
, but you cannot /do/ anything with PHP after the script …
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by Will Gresham
…> <head> <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { b = "<?=myfunction… the same answer on other sites. This should indicate that
Javascript
cannot interact with PHP in the way you are claiming…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
…> <head> <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { window.document.write('<… run [B]ECHO COMMAND[/B] in php...to run in
javascript
.... I hope you can find my discovery useful...... thanks a…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
… anything. php is putting that to the browser, not the
javascript
. view the source of the page. there will be nothing… in the write function of the
javascript
. how about you accept the truth. its how php works…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by somedude3488
… THE LAZY DOG!" will be where the php is.
javascript
did not write that to the page. it was already… there before you TRIED to call it in
javascript
. i think you are not understanding how php works. everyone… are doing. you just don't get the fact that
javascript
did not call the php function directly.
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
… THE LAZY DOG!" will be where the php is.
javascript
did not write that to the page. it was already… there before you TRIED to call it in
javascript
. i think you are not understanding how php works. everyone… are doing. you just don't get the fact that
javascript
did not call the php function directly.[/QUOTE] guys! the…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by Will Gresham
…] [b]How can I pass a variable from
Javascript
to PHP?[/b] Since
Javascript
is (usually) a client-side technology, and PHP…://uk.php.net/manual/en/faq.html.php#faq.html.
javascript
-variable"]Link to PHP.net article[/URL]
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
…://uk.php.net/manual/en/faq.html.php#faq.html.
javascript
-variable"]Link to PHP.net article[/URL][/QUOTE] What… made his invention and discovery through experiment. Why is it
javascript
[B][U]VARIABLES [/U][/B]can run in php or…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
… of what you are saying is possible with php and
javascript
: [code] <?php function display( $text ) { echo $text; } ?> <…> <head> <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { window.document.write('<…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by somedude3488
i think you are trying to point out the most basic part of php like i said before. you are just putting data into a
javascript
function. you are not calling a php function from
javascript
. you just don't understand exactly what your code does, and you call me a dumbass.
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by rm_daniweb
… i said before. you are just putting data into a
javascript
function. you are not calling a php function from…
javascript
. you just don't understand exactly what your code does, … textbox to trigger that data passing by php function to
javascript
. Do you understand the title of this thread? It seems…
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by somedude3488
… way you worded your thread made it sound like the
javascript
was calling a php function. you should of put…
javascript
is calling the output of a php function run only …
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
15 Years Ago
by cwarn23
I have just managed to make basic communication between
javascript
and php using cookies and an iframe and my script … thats a propper way of getting php to communicate with
javascript
.
Re: Calling PHP function on Javascript events e.g onchange
Programming
Web Development
13 Years Ago
by yisusl
este el codigo de php a
javascript
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 …-)"; return $x; } ?> <script language="
javascript
" type="text/
javascript
"> function ILovePHP() { b = '<?php echo…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC