CodePlexProject Hosting for Open Source Software
No, that’s pretty common because I decided not to put the q function into the global namespace. It creates a dependency that confuses people. So I’ve been replacing most of them with
another means of selection. For that one, you can replace q("#inpHTML")
with simply inpHTML since all elements with an ID are put in
the global namespace by IE automatically. In other places where you see something like
you’re going to need to use element.querySelector(".someClass").
Does that make sense?
BTW, the q() function offered some fancy functionality where it allowed
you to select multiple things and it turned those into an array result automatically. If you come upon a demo where it’s being used for that, you have to either replace it with a manual method or you can just use the Ocho.query function explicitly. I think
if the Ocho.query function is used explicitly it will be clear to anyone coming along.
[email removed] // 206.250.7637
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.