So I tested out the page more carefully. I noticed when I do click
"Help", it does seem to go to the server--implying some sort of
partial postback. I substituted the asp control with just html and
wired the code to the html. Now it works fine. So you were
absolutely right--the problem is it i
http://www.w3.org/1999/xhtml"; >
MeasureResults - Project Wizard
#simplemodal-overlay {
background-color:#000;
cursor:wait;
}
#simplemodal-container {
height:200px;
width:300px;
background-color:#fff;
border:3px solid #ccc;
padding:5px;
}
#simplemod
If the element that you bind the click event to is not changing in any
way, there is no reason that the event shouldn't fire again.
Can you post (pastie.org or here) the structure of your page?
On Dec 10, 5:32 pm, Ron <[EMAIL PROTECTED]> wrote:
> I guess the confusing thing is that there really
I guess the confusing thing is that there really isn't any AJAX. I
understand the event binding problem when new elements are added to
the DOM. This page is set up in a way where the div containing the
modalpopup is set to display:none, which I imagine SimpleModal
toggles. There is no request--A
There's another thread from today that points to the FAQ<
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F
>
Brian.
On Wed, Dec 10, 2008 at 3:50 PM, Brian Cherne <[EMAIL PROTECTED]> wrote:
> Neither JavaScript's nor jQuery's click will auto
Neither JavaScript's nor jQuery's click will automatically re-bind if the
object is removed and then added again. If the link you refer to is replaced
by a new set of content (with an identical link) you may consider using a
plug-in like Brandon Aaron's Live Query: <
http://brandonaaron.net/docs/li
I'm wondering if the issue isn't JQuery's click event. Maybe the
problem is that JQuery's click handler doesn't rebind? I seem to
remember someone running across this issue before, where they just
used javascript's click handler instead of JQuery to resolve it...I'll
try that and repost.
Ron
O
I don't see anything that is immediately obvious...
Make sure you don't have duplicate id's.
On Dec 10, 12:05 pm, Ron <[EMAIL PROTECTED]> wrote:
> Hi,
>
> So I have the following code:
>
>
8 matches
Mail list logo