Hi Jon,

I'm also something of a newbie, but you can include normal javascript
in with jquery, as jquery *is* javascript.

The main problem is that jquery functions won't work on normal DOM
objects, they have to be selected using the $ function first e.g.
$(#myObject).show();

The $ function also gives you a selection of things to play with (an
array/node collection? Correct me if I'm wrong), so it's difficult to
straight apply DOM methods to them.

The other problem with mixing the two is 'this', $(this) and this are
completely different - I've not quite got my head round it yet!

That's a start, give it a go and read some of the tutorials -
otherwise if you have a specific problem that arises, post that!:)

Thanks,

Dan.

On 1/13/08, Jon Moses <[EMAIL PROTECTED]> wrote:
>
>  I have looked on the jQuery website but I just wanted some extra
> advice from people building plugins.
>
> Can I just mix any vanilla javascript in with jQuery? What are the
> basic rules?
>
> I am a newbie to javascript and am currently doing my best to keep up
> with jQuery at the same time but need a bit of extra advice
>
> Thanks all
>
> Jon
>


-- 
Daniel Eastwell

Portfolio and articles:
http://www.thoughtballoon.co.uk

Blog:
http://www.thoughtballoon.co.uk/blog

Reply via email to