Hi all,
Is there a way to make the following script work as i would expect it to?
<script language="javascript">
function constr () {
this.value = 'oldval';
this.someotherval = 'xxx';
}
var obj = new constr ();
obj.someotherval ='yyy';
var obj2 = obj;
obj2.value = 'newval'...
How do i find out the available width and height of a browser window. I checked out some docs and it said window.innerHeight and window.innerWidth. But:
when i do
alert (window.innerHeight); using IE 6.0 it says 'undefined' while using Mozilla 1.6 it gives me a reasonable 698...
i also checked...
Hi all,
Does anyone know a good way to 'log' javascript activity.
Preferably to a file, but something like a separate window or something is just fine.
I have 2 pieces of html:
<body>
<form style="border: 1px solid gray;">
<br>
<br>
some text 1<br><br>
</form>
some text 2
</body>
the other one
<body>
<form style="border: 1px solid gray;">
<br>
<br>
some text 1<br>
</form>
some text 2
</body>
Obviously the difference is...
view the following simple script:
<body>
<table border=1>
<tr id='row'>
</tr>
</table>
<script language="JavaScript">
<!--
document.getElementById('row').innerHTML = '<td>hello world</td>';
//-->
</script>
</body>
This should display 'hello world' with a border around it.
Mozilla...
Does anyone know a way to retreive - platform/browser independently! - data using javascript and php.
The situation is like this: i'm building a page with several basic elements, like textboxes checkboxes etc.
Another - less basic - element, called listview, has a great deal of relevant...
Another Problem:
Textzoom in Mozilla and Netscape resizes text even if the font-size: is somewhat like 11px. IE doesn't resize these if the user tries to resize tekst... It's not that i don't want text to be resized by the browser (Maybe there is a way, if you know please tell).
I want to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.