Jump to content

beanymanuk

Members
  • Posts

    107
  • Joined

  • Last visited

Everything posted by beanymanuk

  1. 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
  2. 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>
  3. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.