Forum: JavaScript / DHTML / AJAX Nov 9th, 2009 |
| Replies: 2 Views: 330 This can make it 333
Test this code in your addresbar:
javascript: alert(333.33333.toFixed())
implement it if you like it.
You can also do things like:
3215.3248566432.toFixed() //gives... |
Forum: JavaScript / DHTML / AJAX Oct 14th, 2009 |
| Replies: 8 Views: 1,678 Yes, you simply delete it!
Just change the play button code from:
<INPUT TYPE="BUTTON" VALUE="Play" OnClick="Player.controls.play()">
into:
<INPUT TYPE="BUTTON"... |
Forum: JavaScript / DHTML / AJAX Oct 13th, 2009 |
| Replies: 8 Views: 1,678 This is interesting ....[?!?] still haven't found anything working for you on internet?!
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>... |
Forum: JavaScript / DHTML / AJAX Oct 12th, 2009 |
| Replies: 5 Views: 470 in fact, there is no such thing as anonymous array, this supposedly "arrray" will be garbage collected as soon as the function has passed over.
Therefore you must initiate/create that array... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 4 Views: 566 you will need Exel activeX object for this.
This is a demo code from MSDN:
var ExcelApp = new ActiveXObject("Excel.Application");
var ExcelSheet = new ActiveXObject("Excel.Sheet");
// Make... |
Forum: JavaScript / DHTML / AJAX Oct 3rd, 2009 |
| Replies: 6 Views: 684 good.
this would be your HTML
<form name="dropDown" action="" method="" >
<select name="disposition">
<option value="" >Select Scene</option>
</select>
</form>
this would be the string format... |
Forum: JavaScript / DHTML / AJAX Oct 2nd, 2009 |
| Replies: 9 Views: 584 Nice
I'm puzzled though, why is that code using same id on multiple elements?
And I have another puzzle somebody could answer to me: whose responsibility is to mark threads as solved, :: the... |
Forum: JavaScript / DHTML / AJAX Oct 2nd, 2009 |
| Replies: 10 Views: 988 <html>
<head>
<style type="text/css">
<!--
.fontStyle {
font-family: Verdana, Geneva, sans-serif;
font-size: small;
font-weight: bold;
color: #67A2DC;
} |
Forum: JavaScript / DHTML / AJAX Oct 2nd, 2009 |
| Replies: 9 Views: 584 I've underlined some conflicting statements in your problem description, and the clearance on that part might give some strait forward solution.
That is: if explanation stating that elements are... |
Forum: JavaScript / DHTML / AJAX Sep 12th, 2009 |
| Replies: 6 Views: 657 function vulpagina() {
var maindiv=document.getElementById("maindiv");
for(i=0; i<26; i++){
var imgnr = i;
var div=document.createElement("div");
var img=document.createElement("img");... |
Forum: JavaScript / DHTML / AJAX Jul 25th, 2008 |
| Replies: 17 Views: 2,100 Well, now that you've learned that quotes can be used only in the logic of parenthesis (*), but not (*] same as "*' etc, and that strings can be added with the + sign and automatically converted into... |
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008 |
| Replies: 17 Views: 2,100 OK
try: alert("The Sum is:" + total + "; The average is: " + average);, to alert them both in one turn.
try: var largest = Math.max(firstnumber, secondnumber, thirdnumber);
var smallest =... |