beanymanuk
-
Posts
107 -
Joined
-
Last visited
Posts posted by beanymanuk
-
-
I want to pass the result that appears in the div videotime to a php variable which I can then use to add the data to my database
How can I do this?
<p>position:</p><div id="videotime"></div> <script type="text/javascript"> // get video element var video = document.getElementsByTagName("video")[0]; function writeVideoTime(t) { document.getElementById("videotime").innerHTML=t; } </script>
-
Cheers for that thats super stuff
Pete
-
I'm trying to display records from a database and then when a new one is added automatically update the displayed records from the database with the new one
I am doing this using php and javascript. I want to load a page and display tags under a video and then when a user adds a new tag by entering it into text box to add it to the database and then refresh the part of the page which shows these tags and include the new tag which has just been added all without the page being reloaded.
I am using code from this link as my base to add records http://www.9lessons.info/2009/05/insert-and-load-record-using-jquery-and.html
pass javascript output to a php variable
in Javascript Help
Posted
The video bit is just going to a video tag and getting the current time point of the video
How could I go about passing the value using ajax exactly in simplist way possible