Forum: JavaScript / DHTML / AJAX 33 Days Ago |
| Replies: 1 Views: 378 Inside the function basicAjaxSwitch you are defining a variable basicAjaxSwitch so it's being overwritten. Just use a different variable name inside the function. |
Forum: JavaScript / DHTML / AJAX Oct 23rd, 2009 |
| Replies: 1 Views: 522 A) Use code tags
B) This is a PHP problem not Javascript
C)
<?xml version="1.0" encoding="UTF-8"?> // <---- this is your problem because of the <?
If you're in PHP you have to echo the <?xml... |
Forum: JavaScript / DHTML / AJAX Oct 14th, 2009 |
| Replies: 3 Views: 382 You can do something like this
<form action="delete.php or whatever" onsubmit="return confirm('Are you sure?');">
That will pop open a box that says "Are you sure?" with yes and no buttons, if... |
Forum: JavaScript / DHTML / AJAX Oct 13th, 2009 |
| Replies: 2 Views: 600 You can't. Simple as that :) Even if you did disable it with javascript all the user would have to do is disable javascript and hit printscreen. |
Forum: JavaScript / DHTML / AJAX Oct 11th, 2009 |
| Replies: 5 Views: 460 No you can't. i in your scenario is the key for each value so the only way to get the actual value would to do ['val1', 'val2', 'val3'][i] which would defeat the purpose :) |
Forum: JavaScript / DHTML / AJAX Oct 4th, 2009 |
| Replies: 7 Views: 389 Thinks you can do to try and help yourself:
Search the Daniweb forums for the 8000 other posts asking what AJAX is
Google for "AJAX"
Google for "AJAX tutorial" |
Forum: JavaScript / DHTML / AJAX Oct 4th, 2009 |
| Replies: 7 Views: 389 Neither of those links are bad, read them. |
Forum: JavaScript / DHTML / AJAX May 18th, 2009 |
| Replies: 3 Views: 891 www.w3schools.com/jsref/jsref_obj_regexp.asp Regular expressions were made for this, they'll be hard to grasp at first but they'll be your friend in the end. |
Forum: JavaScript / DHTML / AJAX Mar 11th, 2009 |
| Replies: 3 Views: 578 Firebug (http://www.getfirebug.com) |
Forum: JavaScript / DHTML / AJAX Apr 2nd, 2008 |
| Replies: 1 Views: 822 Well if you're basing the creation on AJAX calls then you'd probably want to use a bit of DHTML instead of manipulating the innerHTML property, ie.,
function addRadio(parentID,... |
Forum: JavaScript / DHTML / AJAX Feb 13th, 2008 |
| Replies: 15 Views: 2,450 var numInputs = 0;
function addInput(){
...
newInput.name = "upload"+parseInt(numInputs);
numInputs++;
...
} |
Forum: JavaScript / DHTML / AJAX Feb 13th, 2008 |
| Replies: 15 Views: 2,450 IE seems to create a tbody element after <table> so attempting to add the tr to the <table> tag will not work so we have to get the parent element then get the parent of that
function... |
Forum: JavaScript / DHTML / AJAX Jul 10th, 2007 |
| Replies: 2 Views: 20,395 Most likely you've seen a flash MP3 player or two while searching the web but I have a favorite. This is the JW MP3 Player (http://www.jeroenwijering.com/?item=JW_MP3_Player), mainly because it has... |