Forum: JavaScript / DHTML / AJAX Aug 9th, 2009 |
| Replies: 4 Views: 610 If you have control of the entire page, then the content of a div should change only under program control, under your control. Thus when your program changes the content, it should then call the... |
Forum: JavaScript / DHTML / AJAX Aug 9th, 2009 |
| Replies: 8 Views: 1,023 I would sooner believe you are using a non-standard 'feature' of IE. Try Firefox, Opera and a few other browsers; ask others to try it on Safari and Konqueror. If it still only works in IE, then you... |
Forum: JavaScript / DHTML / AJAX Aug 8th, 2009 |
| Replies: 8 Views: 1,023 Since you have the web page (web site), can't you:
<div id="mydiv">
<p id="mydiv_p1">first</p>
</div>
In other words, have your code that creates the <p> assign an ID to it. Fetching the... |
Forum: JavaScript / DHTML / AJAX Aug 6th, 2009 |
| Replies: 11 Views: 783 As an answer is promised, I won't butt in. Instead, I'll give some tidbits as reminders to how the web works.
Generally speaking, cookies are sent between the server and the browser by way of HTTP... |
Forum: JavaScript / DHTML / AJAX Jun 8th, 2009 |
| Replies: 5 Views: 635 Here's a 'simple' method that is 'close' to what you stated. It's very high level, lacking most detail, but will do what you said you wanted once implemented correctly. I taught myself all this by... |
Forum: JavaScript / DHTML / AJAX Dec 25th, 2008 |
| Replies: 2 Views: 3,775 write your select, order it in reverse order (o what you want is first) and add 'limit 1' at the end of the statement. That will give you exactly what would have been the last record before the... |
Forum: JavaScript / DHTML / AJAX Jan 6th, 2008 |
| Replies: 11 Views: 7,811 Hmm. It works for me on IE7.0.5730. However, I *can* make it ignore the javascript by DISABLING Active Scripting (Tools->Internet Options->Security...) I can think of no other reason for this to... |
Forum: JavaScript / DHTML / AJAX Jan 3rd, 2008 |
| Replies: 2 Views: 875 Quite right. Do note that if you copy/paste the examples below, you may receive an error. Daniweb's VB seems to insert "<b></b>" between 'about' and ':' in the HTML example.
Minimal PHP example:
... |
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2008 |
| Replies: 11 Views: 7,811 Moving the script and noscript tags and content inside the body (where they belong), and changing onSubmit to onsubmit makes the file Valid XHTML 1.0 Transitional (according to w3.org).
Either... |
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2008 |
| Replies: 2 Views: 875 I've created a fairly simple method for obfuscating email addresses as an anti-spam measure. It should work for any browser that supports JavaScript and a fairly modern Document Object Model (DOM). A... |