阅读背景:

在引导程序弹出窗口中使用交互式元素

来源:互联网 

I am successfully using a bootstrap popover on a link click. I have some form elements inside the popover: a textfield, checkbox and a button. I'm able to attach a button listener using jquery.live(), but inside that button listener I don't seem to have any access to the correct form elements. They exist if I trace them out in a console log, but their values always remain the original defaults, so if I go $('#txtComment').val(); the string is always the same, regardless of what I put into the field.I am successfully using a bootstrap popover on




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: