I'm having a problem with a suggester table, as it doesn't clear if i click outside the area. Let me explain the problem..
I'm using Ajax call to fetch suggestions as I type into a text box, the results are set inside a <div> using a <table> dynamically. Now, I want to clear/close the suggester table if i click outside the area, just like a normal combo box would behave. When I tried clearing at 'onblur' of the text box, the value selection is also not possible. This, I feel, is because the table is detected as outside of the text box, n hence its closed. What I'd like to know is if there's any way of finding out the target-element, so that i can check whether its the table or outside. Not too sure about this as the table too is dynamically generated.
Thanks in advance! n sorry for the long description given ;)
thanks for the reply, but i'm still in need of a solution.. , as i'm unable to use target element here..
the problem is, i use a dynamically generated table, which is not recognised during runtime.
Live your life. Don't just exist.
Have you no shame? Have you no decency? Have you no tiny ad?