Hi Yaron,

On 2011-01-17 13:56 UTC Yaron Koren wrote:
> Could you explain what your SFDateInput extension does? The general
> approach when using jQuery, which I've tried to get SF to follow, is to
> use classes instead of IDs whenever possible - it leads to significantly
> simpler code. Is it possible that your extension could do the same thing?

It simply adds buttons that let users enter 'today', 'tomorrow', or 
'yesterday' with one click.

I don't know how I could use classes in that case - the buttons next to a date 
input should only enter the date into one specific DateInput, not into all 
DateInputs. I think I need something (IDs?) to uniquely address each field, 
don't I?

Patrick.

-- 
Key ID: 0x86E346D4            http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to