Forum: JavaScript / DHTML / AJAX Oct 30th, 2006 |
| Replies: 19 Views: 19,444 What's even more funny is that the solution I provided - and which appears to be totally invisible to everyone - does not include any javascript (thank you very much), gives you an 'animated' button... |
Forum: JavaScript / DHTML / AJAX Oct 28th, 2006 |
| Replies: 19 Views: 19,444 |
Forum: JavaScript / DHTML / AJAX Oct 28th, 2006 |
| Replies: 19 Views: 19,444 I am really, REALLY missing something here.
<div style="position:absolute; left:0px; top:0px; border-color:#FFFFFF;
border-style:solid" CLASS="divname" ... |
Forum: JavaScript / DHTML / AJAX Oct 28th, 2006 |
| Replies: 19 Views: 19,444 Am I missing something? :)
The question was .
The solution I offered may not be what you'd class as 'only css' but it doesn't have a H REF and it assigns properties to a class. Is that wrong? |
Forum: JavaScript / DHTML / AJAX Oct 21st, 2006 |
| Replies: 5 Views: 1,573 This may help you get started:
http://javascript.internet.com/forms/strip-characters.html
You just tell the script which characters to want taken out and it does it. I haven't tested this... |
Forum: JavaScript / DHTML / AJAX Oct 20th, 2006 |
| Replies: 5 Views: 1,573 It isn't a security thing. It's just what happens when you copy from one application and paste into another most times.
I notice it most in forums where people type their replies in Word and then... |
Forum: JavaScript / DHTML / AJAX Oct 20th, 2006 |
| Replies: 5 Views: 1,573 What are you copying and pasting from?
Unless you are copying pure text from a text editor, anything you grab from a website or Word document will likely contain some formatting characters and... |
Forum: JavaScript / DHTML / AJAX Oct 19th, 2006 |
| Replies: 5 Views: 3,178 OK. preg_replace isn't the way to go - it appears that there's a bug of some sort from what I could find on the subject. Sorry for misleading you.
This definitely works, though, because this time... |
Forum: JavaScript / DHTML / AJAX Oct 18th, 2006 |
| Replies: 5 Views: 3,178 You need to use a script to strip out the unwanted codes.
In PHP you could use the preg_replace:
http://uk2.php.net/preg_replace
Or if you wanted to use JavaScript here's an example with... |
Forum: JavaScript / DHTML / AJAX Oct 17th, 2006 |
| Replies: 5 Views: 3,178 It's a textarea field I think you're referring to, unless I've misunderstood e.g.:
<div style="position:absolute; left:10px; top:10px"
CLASS="somediv"><textarea name="msg" style="border:1px; ... |
Forum: JavaScript / DHTML / AJAX Oct 17th, 2006 |
| Replies: 19 Views: 19,444 The way I do it is as follows (for example):
<div style="position:absolute; left:0px; top:0px; border-color:#FFFFFF;
border-style:solid" CLASS="divname" ... |