[theme-reviewers] using onclick attribute in the temlplates

priyanshu mittal priyanshu.mittal at gmail.com
Sat Aug 24 13:43:03 UTC 2013


I want to pass category name and couple more parameters in  the function
....


On Sat, Aug 24, 2013 at 7:00 PM, Jose Castaneda <jomcastaneda at gmail.com>wrote:

> Rather than hard coding it why not use an event listener?
>
>
> On Sat, Aug 24, 2013 at 6:27 AM, priyanshu mittal <
> priyanshu.mittal at gmail.com> wrote:
>
>> i want to make a template in which after clicking category, with the help
>> of ajax request, the posts under the category will be displayed
>>
>>
>> On Sat, Aug 24, 2013 at 6:53 PM, 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> theme-reviewers mailing list
>>> theme-reviewers at lists.wordpress.org
>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>
>>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130824/0c41fcbb/attachment-0001.html>


More information about the theme-reviewers mailing list