Forum: JavaScript / DHTML / AJAX Jun 30th, 2009 |
| Replies: 37 Views: 4,362 cool, so where is the code? |
Forum: JavaScript / DHTML / AJAX Jun 30th, 2009 |
| Replies: 4 Views: 2,365 can you post your html (w/ javascript)?
EDIT: it should just be something like: onclick="getProgress()" |
Forum: JavaScript / DHTML / AJAX Jun 30th, 2009 |
| Replies: 4 Views: 2,365 you probably need to supply some more information. you say it only calls the method once, but are you sure this is the result of your onclick event? if it is infact calling it from the onclick, then... |
Forum: JavaScript / DHTML / AJAX Jun 4th, 2009 |
| Replies: 5 Views: 739 you do a similar process to the form, get the form id, then the input field and then do .value=document.getElementById('cellText').innerHTML |
Forum: JavaScript / DHTML / AJAX Jun 4th, 2009 |
| Replies: 1 Views: 413 depends on what server-side language you are using. but it should be a simple matter of replacing each "null" with a new line character. |
Forum: JavaScript / DHTML / AJAX Mar 27th, 2009 |
| Replies: 1 Views: 520 have you changed broswer? i remember ther are browser considerations you need to be aware of when using AJAX. |
Forum: JavaScript / DHTML / AJAX Mar 19th, 2009 |
| Replies: 4 Views: 1,794 ok, well from my understanding you want to set the value of hidden1, hidden2 depending on which submit button is pressed. you already have the onclick event, so inside the event you want to execute... |
Forum: JavaScript / DHTML / AJAX Mar 19th, 2009 |
| Replies: 2 Views: 991 you mention a database, therefore you would probably want a server-side language to set up a database connection. |
Forum: JavaScript / DHTML / AJAX Mar 19th, 2009 |
| Replies: 4 Views: 1,794 you don't need to insert any hidden fields as such, just set the value. if this is to be filled when you submit the form, then make use of the onclick event and set the element (your input field)... |
Forum: JavaScript / DHTML / AJAX Feb 24th, 2009 |
| Replies: 3 Views: 480 you are returning, so when will it ever get to MakeBooking? |
Forum: JavaScript / DHTML / AJAX Feb 17th, 2009 |
| Replies: 5 Views: 1,018 and you have linked the 2 files? (or alternatively have them in the single file?) |
Forum: JavaScript / DHTML / AJAX Feb 16th, 2009 |
| Replies: 5 Views: 1,018 have you defined the "XMLHttp.prototype.get" method? |
Forum: JavaScript / DHTML / AJAX Feb 16th, 2009 |
| Replies: 1 Views: 528 posting your assignment doesn't really make me want to help you. |
Forum: JavaScript / DHTML / AJAX Feb 15th, 2009 |
| Replies: 2 Views: 821 you realise this will be visible in the source?
why not make use of some kinda backend, even if it is just a simply php script. |
Forum: JavaScript / DHTML / AJAX Feb 12th, 2009 |
| Replies: 1 Views: 431 |
Forum: JavaScript / DHTML / AJAX Jan 30th, 2009 |
| Replies: 7 Views: 3,535 this is an example I found elsewhere (http://www.dynamicdrive.com/forums/showthread.php?t=8900):
<select size="1" onChange="this.form.action=this.options[this.selectedIndex].value;">
<option... |
Forum: JavaScript / DHTML / AJAX Jan 30th, 2009 |
| Replies: 9 Views: 2,553 I had misunderstood what you were saying initially, I thought you were trying from the w3schools server. I suggest you try debugging using firebug or some equivalent for any of the other browsers.... |
Forum: JavaScript / DHTML / AJAX Jan 30th, 2009 |
| Replies: 9 Views: 2,553 wait, are you trying them from w3schools or are you trying the examples for yourself (own server)? |
Forum: JavaScript / DHTML / AJAX Jan 29th, 2009 |
| Replies: 9 Views: 2,553 interesting, if it is not working in any of your browsers, i imagine it is an issue with your network. could it be a proxy? etc... |
Forum: JavaScript / DHTML / AJAX Jan 28th, 2009 |
| Replies: 9 Views: 2,553 what browser are you using? i just tried FF3, ie7, opera & chrome and it worked in all...
i assume you don't have javascript disabled too... |
Forum: JavaScript / DHTML / AJAX Jan 12th, 2009 |
| Replies: 3 Views: 1,173 <form>
<input type="submit" disabled="disabled">
</form> |
Forum: JavaScript / DHTML / AJAX Jan 12th, 2009 |
| Replies: 7 Views: 5,292 what makes you think there is such a thing as document.fontFamily?
as I said, make sure you are using up-to-date and correct properties. |
Forum: JavaScript / DHTML / AJAX Jan 12th, 2009 |
| Replies: 7 Views: 5,292 well since background works, why not use the same location.href? You are also making use of deprecated code, you might want to rethink how you are changing the properties. |
Forum: JavaScript / DHTML / AJAX Jan 6th, 2009 |
| Replies: 6 Views: 1,293 You need to use code tags, and you know it isn't possible to use JavaScript alone to "chat" with somebody else. How is your php implemented? |
Forum: JavaScript / DHTML / AJAX Dec 22nd, 2008 |
| Replies: 7 Views: 1,892 Would have to be the worst poster I've seen. |
Forum: JavaScript / DHTML / AJAX Dec 21st, 2008 |
| Replies: 7 Views: 1,892 If you assign an id to the table, you will be able to search through it using DOM. |
Forum: JavaScript / DHTML / AJAX Dec 21st, 2008 |
| Replies: 7 Views: 1,892 JSP is server-side, you probably want to use JavaScript instead |
Forum: JavaScript / DHTML / AJAX Dec 19th, 2008 |
| Replies: 1 Views: 1,003 What do you mean?
Just use paint? |
Forum: JavaScript / DHTML / AJAX Dec 18th, 2008 |
| Replies: 2 Views: 694 http://www.2createawebsite.com/programming/new-window.html
has an example of what you want |
Forum: JavaScript / DHTML / AJAX Dec 15th, 2008 |
| Replies: 4 Views: 1,994 Nobody will help you like that... |
Forum: JavaScript / DHTML / AJAX Nov 12th, 2008 |
| Replies: 2 Views: 1,153 It would probably be more intuitive to pass the value from a form to jsp. I understand the value is stored in javascript, but you should be able to use a hidden field or something to put it into the... |
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008 |
| Replies: 2 Views: 620 I think you have broken your own rule already since asp is server-side. Anyway, what you probably want to do is look at AJAX. |
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008 |
| Replies: 3 Views: 9,966 I had a look at the code and tried it out, it works for me (though I did get rid of those "..." things you have. I was using firefox. |
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008 |
| Replies: 9 Views: 1,906 You could probably increase the width of the frame, otherwise have some other content in the frame, or have a permanently hidden div to set the width.
Hopefully I am understanding you now :p |
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008 |
| Replies: 9 Views: 1,906 So originally the box should be "hidden" and take up no space, correct?
What I assume happens next is some kind of box is pressed to upload a file, and if this is so, you attach an even e.g.... |
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008 |
| Replies: 9 Views: 1,906 Not too sure why you have punctuated those sentences when I had no idea of your requirements.
Anyway, you should look at the visibility or display attributes for the div (css, but it can easily be... |
Forum: JavaScript / DHTML / AJAX Nov 7th, 2008 |
| Replies: 5 Views: 981 I replied to your other post, be a little more patient perhaps. If you annoy people, they won't help you out... |
Forum: JavaScript / DHTML / AJAX Nov 7th, 2008 |
| Replies: 5 Views: 981 Ah, debugging JavaScript is a mission at times. I highly recommend getting a debugger like firebug.
So I found a few issues in the code above. Firstly, you are calling "start('start')", you don't... |
Forum: JavaScript / DHTML / AJAX Nov 7th, 2008 |
| Replies: 9 Views: 1,906 Do you have a link by any chance? If the div is "hidden" I assume you mean no content, how it is taking up space? Maybe I don't understand the problem entirely... |
Forum: JavaScript / DHTML / AJAX Nov 7th, 2008 |
| Replies: 1 Views: 490 If you view the page source it will have script tags, if they are from a file look at the "src" attribute. Otherwise you can "save page as" and it will automatically download all the page resources... |