Re: [Koha] jquery and selectors

2012-08-16 Thread Owen Leonard
These seem to be Koha elements rather than standard DOM elements. How would I know that, or am I missing something? For the purposes of what you're doing there's no Koha versus standard DOM. jQuery looks at whatever markup is on the page. When you see this: $(#memberentry_contact

Re: [Koha] jquery and selectors

2012-08-16 Thread Landers, Paul
This is exactly the answer I was looking for. Thanks a million! On Aug 16, 2012, at 9:21 AM, Owen Leonard wrote: These seem to be Koha elements rather than standard DOM elements. How would I know that, or am I missing something? For the purposes of what you're doing there's no Koha versus

Re: [Koha] jquery and selectors

2012-08-14 Thread Owen Leonard
But how do we determine the selector for any particular element on any particular Koha page? I'm not sure that I see that FireBug reveals 'opac-main-search' as part of any element's description in the OPAC. I wrote some about that for KohaCon 2009. Jump to the Fine control with your custom

Re: [Koha] jquery and selectors

2012-08-14 Thread Landers, Paul
Owen, this was very helpful for some related questions, but I'm still not sure I understand for to define an element for a specific Koha page. For example, on the query wiki are these 3 examples: $(#memberentry_contact label[for='phone']).html(Primary Phone :);