On Dec 22, 10:51 pm, Schalk Neethling <[email protected]>
wrote:
> Hi there,
>
> I was wondering whether anyone knows if the jQuery website has some sort
> of API to access the search functionality of the site?
Stimulus, response...
<form action="">
<div>
<input type="text" name="queryText" value="events">
<input type="button" value="Search..." onclick="
searchDocs(this.form.queryText);
">
</div>
</form>
<script type="text/javascript">
function searchDocs(el) {
document.location =
'http://docs.jquery.com/Special:Search?ns0=1&search='
+ encodeURIComponent(el.value)
+ '&go=';
}
</script>
--
Rob