urlparam-parse
v1.0.8
Published
Parse URL params and change your HTML code using a simple pattern [urlparam param='src' default=''].
Downloads
45
Readme
urlparam-parse
- Parse URL params and change your HTML code using a simple pattern.
[urlparam param='src' default=''] - url param 'src' width default blank
[urlparam param='tag' default='ABC'] - url param 'tag' with default 'ABC'
[urlparam param='redir'] - url param 'redir' without default defined
[urlparamparam='src'default=''] - url param 'src' without spaces
- url param 'src' into form action URL
<form action="http://url_form/?src=[urlparam param='src' default='']">
- url param 'src' into input text
<input type="text" value="[urlparam param='src' default='']" />
- url param 'src' into link href
<a href="http://url_link/?src=[urlparam param='src' default='']">
- setting timeout when embed script
<script src="urlparam-parse-embed.js" timeout="1000"></script>