Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Uses a regular expression to validate a string as a validly formatted email address.
1
1064
posted 16 years ago by Anthony
Basically, this is the XHTML web standards template you see on the front page. I usually end up removing a few things, so this is just that template... but with the junk removed.
1
1024
posted 16 years ago by Jacolyte
First noscript tag redirects the user to the page telling them to allow scripts. Second section is an example page of one which will go to the default page if scripts are allowed, or to give them a message otherwise.
1
885
posted 16 years ago by Anthony
Post a stripped down version of the page if you can. One that shows exactly how the iframe fits into the structure of the page.
The solution I settled on works like this:
The parent page has a javascript function like this:
function insertIt()...
0
1188
posted 16 years ago by jamesming
Gets a ClientScriptManager reference from the Page class. If the client script is not already registered on the page, builds and registers a script. Useful for building a script dynamically and ensuring that it gets registered during the correct s...
1
900
posted 16 years ago by Anthony
To remove the annoying beeping of linux (so far tested in ubuntu and slackware)
the module pcspkr needs to be removed. this code would help to remove it.
0
748
posted 16 years ago by iTony