Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $('#ChatHeader').prepend('<form id="rswSearch" action="/wiki/Special:Search" target="_blank" style="float:right;margin-right:155px;">'+
- '<input id="searchbox" type="search" name="search" placeholder="Search" style="margin:0px;height:20px;">'+
- '<input type="submit" name="go" value="Go" style="background-color:buttonface;background-image:none;border:2px outset buttonface;color:buttontext;border-radius:0px;padding:0 5px;">'+
- '<style>input[type="submit"]:active {border-style:inset !important;}</style></form>');
- $('#rswSearch').submit(function() {
- setTimeout(function(){$('#searchbox').val('')}, 50)
- })
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement