Jquery thickbox - form problem |
[eluser]Kristof[/eluser]
Hi guys, I'm still new to CI. But i'm working on a new project (to learn CI). I want a registrationform within a jquery thickbox, check it and send it via ajax. The sending part is easy but i have a problem with the checking of inputfield. For some reason Code: var name = $("input#name").val(); It seems like it can't find the inputfields. The strange part is that if i send the form using the js-function (serialize()), it does find the inputfields. Any ideas ? a live example is to be found on http://ci.denieuwekantine.be click on "not a member yet". More info: view: Code: [removed][removed] Code: $(function() { So i hope someone can help me thanks in advance
[eluser]xzela[/eluser]
you can try abandoning ThinkBox altogether and create your own(controllable) version of it. jQuery is pretty easy to use when creating your own UI components. If I remember correctly, ThinkBox uses an iFrame which can cause problems if you are not prepared for it.
[eluser]Unknown[/eluser]
with all of jquery box : jquery box list on google, which one is easy to used by CI ? |
Welcome Guest, Not a member yet? Register Sign In |