-
modify-url.js : A library to modify URL.
-
Create an object from URL string:
var modifiedUrl = new ModifiedUrl("https://www.google.com:80/search?q=javascripts&ie=utf-8#q=js");
-
Accsess different part of URL as bellow:
console.log(modifiedUrl.path);
will print/search
as path valuemodifiedUrl.host
will returnwww.google.com
as host value
-
-
textnode-decorator.js : Decorate plain text node by some callback function to change its content.
-
Sample code:
decorateChildTextNode(document, funcNewNodeHTML);
Above code will replace each text node of document by given callback function's output.
-
-
jquery-dialog-hack-iframewrapper.js : This is a jquery-dialog hack to show html content inside an iframe. One of the usecases is showing html content as a html preview in a jquery-dialog. By this technique current CSS will not be applied to dialog html as we wrapped it by an iframe.
-
Notifications
You must be signed in to change notification settings - Fork 0
mmuzahid/javascript-snippets
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Some Javascript / jQuery snippet
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published