Raja

Raja

11p

7 comments posted · 0 followers · following 0

15 years ago @ LAMP On Focus - Facebox Extended. · 0 replies · +1 points

sorry, not at the moment.
May be by this weekend would put it on github.

16 years ago @ LAMP On Focus - jSuggest Enhanced 1.1 ... · 0 replies · +1 points

hey, I've not tested in other character set. how did it work out for you ?

16 years ago @ LAMP On Focus - Facebox Extended. · 0 replies · +1 points

Sorry for the late reply :).

submit the form thru AJAX call, and use $.facebox.content(<AJAX_RESPONSE>); to update the facebox window, Also after the onSubmit call do a 'return false' to block the default form submit from taking place

16 years ago @ LAMP On Focus - jSuggest Enhanced – ... · 1 reply · +1 points

Glad it as of use to you, You can pick up the latest update which fixes this issue.
jSuggest Enhanced 1.1

16 years ago @ LAMP On Focus - jSuggest Enhanced – ... · 0 replies · +1 points

On the test page, it works fine on my machine (FF,IE&Chrome. latest versions).
Test on a different browser / machine to make sure its not something environmental.

16 years ago @ LAMP On Focus - jSuggest Enhanced – ... · 0 replies · +1 points

Check a couple of pointers,
- When you have the results drop down are you able to click on any other elements on the page.
- Is there any other elements that might be overlapping the results drop down ?
(Some thing like an another div with a higher z-index blocking this layer ?)

16 years ago @ LAMP On Focus - jSuggest Enhanced – ... · 1 reply · +1 points

Hi,
The callback will just pass the selected text from the drop down to given function. This has to be specified at the time of jSuggest object creation.

For ex.,

$("#searchInput").jSuggest({
url: "http://www.mydomain.com/search.php",
type: "GET",
data: "kw",
onSelect: "processSelection"
});

processSelection being the function to be called on the 'onClick' event of the dropdown.

function processSelection(selectedText)
{
alert ('You have choosen' + selectedText);
}

hope this is clear.