Alter the javascript call

This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 10 years, 2 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
February 13, 2014 at 5:35 pm 15411
Tareq Hasan Hello, I have a question about the following code which is in the render-form.php:
            <?php if ( $taxonomy ) { ?>
            <script type="text/javascript">
                jQuery(function($) {
                   $('li.tags input[name=tags]').suggest( wpuf_frontend.ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 0, minchars: 1, multiple: true, multipleSep: ', ' } );
                });
            </script>
            <?php } ?>
How can I remove the javascript ( .suggest( wpuf_frontend.ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 0, minchars: 1, multiple: true, multipleSep: ', ' } suggest and add my own javascript to the inputfield for the tags?
February 14, 2014 at 2:23 am 15431
Tareq Hasan Tareq Hasan

The only way is to replace that code block with yours one.

Viewing 1 Posts - 1 through 1 (of 1 total)