Basically I have this script that when the page loads random html in the page disappears.
Example: <input type="hidden" nme="blah" value="again">
Fails when it shouldn't:
Works but is kind of a retarded way to do this:
Any suggestion or anyone experience this???
Example: <input type="hidden" nme="blah" value="again">
Fails when it shouldn't:
Code:
<script language="javascript">
<!--//
function changeDir(parent) {
var d = document.this_form;
d.action.value = "change";
d.parent.value = parent;
d.submit();
}
//-->
</script>
Works but is kind of a retarded way to do this:
Code:
<script language="javascript">
<!--//
function changeDir(parent) {
var d = document.this_form;
d.action.value = "change";
d.parent.value = '' + parent + '';
d.submit();
}
//-->
</script>
Any suggestion or anyone experience this???