[jQuery] jQuery plugin - not having to call multiple times

2009-07-26 Thread DMS
I'm working on a plugin that basically creates form elements, it's called like this: $('#form').formBuilder({ type: 'select', id: 'selectBox', cssClass: 'form-item', name: 'select', }); This would then append a select box within th

[jQuery] Re: Selectors for pages loaded via ajax

2008-08-21 Thread DMS
Well, not everything uses AJAX... and there is a ton of code that would be really messy to mix inside some of the ajax calls... Some of it is using innerHTML also, which doesn't work for selectors either... On Aug 21, 8:15 am, GasGiant <[EMAIL PROTECTED]> wrote: > Have you tried placing your eff

[jQuery] Selectors for pages loaded via ajax

2008-08-21 Thread DMS
I have some content thats loaded via jquery's ajax methods. I want to have that content load some additional data and do effects, but it doesn't appear to be catching the selectors since the content isn't actually in the mark up. Does anyone know if there is a way around this? Thanks!

[jQuery] jQuery does not work when included in another JS file

2007-10-29 Thread DMS
I'm trying to include jQuery from within another javascript file, using this.. <-- JavaScript Include --> function include_js(name) { var th = document.getElementsByTagName('head')[0]; var s = document.createElement('script'); s.setAttribute('type','text/javascript'); s.setAttribute('src',name)

[jQuery] Error with jquery interface plugin

2007-08-16 Thread DMS
I'm using the window script here http://interface.eyecon.ro/demos/windows.html It works fine on one of my implementations, but on another when I click to trigger the window, the first time it works fine.. but when I close it... it appears to close twice, by flickering.. then when I open it again,