Ajax improvements, js reorganized
This commit is contained in:
@@ -7,7 +7,7 @@ $('#search_field').autocomplete({
|
||||
width: 415, // Ширина списка
|
||||
zIndex: 9999, // z-index списка
|
||||
deferRequestBy: 150, // Задержка запроса (мсек)
|
||||
onSelect: loadArtistData
|
||||
onSelect: Ajax.loadArtistData
|
||||
});
|
||||
$('#search_field').focus();
|
||||
</script>
|
||||
@@ -16,4 +16,5 @@ $('#search_field').focus();
|
||||
<input type="text" id="search_field"/>
|
||||
<input type="submit" value="Search" id="search_button"/>
|
||||
</form>
|
||||
<img src="/images/loader.gif" alt="" />
|
||||
</div>
|
||||
Reference in New Issue
Block a user