Ok, so I have this bit of Javascript and for some reason it's not working.
It's supposed to work like "modvideo('2')" whereas "2" is an ID number.
This is supposed to post to a page like a form, but for some reason is being gay.
function modVideo(inKey){
document.getElementById('txtKey').value = inKey;
var objForm = document.getElementById('frmUser');
document.objForm.action = 'modifyVideo.php';
document.objForm.submit();
}
Everything is fine from my perspective. Please help me. :) Thank you.