[theme-reviewers] using onclick attribute in the temlplates

Daniel danielx386 at gmail.com
Sat Aug 24 13:27:00 UTC 2013


Please whatever you do, make sure that the link will work if
javascript is turned off.

On 8/24/13, Chip Bennett <chip at chipbennett.net> wrote:
> I don't think there's anything inherently wrong with using onClick; any
> potential issues would depend on what's actually being *done* onClick.
>
>
> On Sat, Aug 24, 2013 at 9:12 AM, priyanshu mittal <
> priyanshu.mittal at gmail.com> wrote:
>
>> Hey i want to do something on the click of anchor tag i.e onClick="xyz()"
>> for which already enqueued the js in the headers . Do I allowed to do the
>> same in  the template
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>


-- 
Regards,
Daniel Fenn


More information about the theme-reviewers mailing list