Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
JavaScript
Accessing javascript variable from code behind and accessing code behind variable from javascript
Many times we face situation like when we need to access the code behind variables from javascript as well as accessing javascript variable from code behind.
I can remember a practical scenario in my previous project.
The requirement was to dra...
0
1186
posted 15 years ago by streamt
A very basic XHTML 1.0 Transitional page template without too much indent.
0
1324
posted 15 years ago by HL
This snippet is useful if you want to include partials of another admin generated module into the current one (at runtime). This is necessary to *always* make sure that the partial is available, even after clearing the cache. And this is not always t...
0
931
posted 15 years ago by dreadwarrior
I modified this excellent Perl script, created by John Watson (http://www.watson-net.com) to be used with TextMate to reformat your HTML for easier readability. Here's how to use it:
1. In TextMate > Bundles > Bundle Editor > Show Bundle Editor...
1
1186
posted 15 years ago by rareyman
link to plugin http://projects.exvoto.org/jquery-extjsoncookie/
1
950
posted 15 years ago by almazom
A simple, non-recursive function that I use to return the first element with an ID that contains a certain ID string.
Sometimes, APS.NET appends the Naming Container ID to the IDs of controls, and in instances where the ClientID of a control you wa...
0
704
posted 15 years ago by erintechspired
PowerShell script.
Get all installed in system COM objects.
0
1043
posted 15 years ago by AlexLocust
This is a sound manager class for a small project I've been working on for the past two days. Nothing really major or new, but just some simple functionality including play/stop/forward/previous functions that may help prove useful to someone. If you...
1
1130
posted 15 years ago by alvincrespo
C#
Obfuscating .NET code so as to hide implementation details from public view (using BabelObfuscator)
If you weren't already aware, you can use a product like [Reflector.NET](http://www.red-gate.com/products/reflector/) to see all of the source code (that's right, the code) of a .NET assembly (DLL, EXE, etc). This is a real problem when your code is...
1
1266
posted 15 years ago by pckujawa