97 reputation
8
bio website wpalchemists.com
location Seattle, WA
age
visits member for 2 years, 11 months
seen 15 hours ago

Freelance WordPress developer


May
24
accepted Can't trigger an AJAX function with a submit button in the dashboard
May
24
comment Can't trigger an AJAX function with a submit button in the dashboard
However, your suggestion to do $('#your_form_id').submit(); does help immensely. I still don't know why it can't find the PHP function when clicking a submit button triggers the event, but at least I can prevent the default action and then do the action later. Thanks!
May
24
comment Can't trigger an AJAX function with a submit button in the dashboard
Thanks, Mohammad! Unfortunately, that doesn't help. I have tried $('.button').on('click', function (e), $('#button-id').on('click', function (e), and $('#form-id').on('submit', function (e) and everything else I can think of. No matter how I target that submit button or form, it cannot find the PHP function.
May
24
comment Can't trigger an AJAX function with a submit button in the dashboard
The plot thickens! If I add e.preventDefault(); to the JavaScript, then it finds the PHP function. But I don't want to prevent the default form submission....
May
24
asked Can't trigger an AJAX function with a submit button in the dashboard
Apr
23
answered Plugin translation not displaying
Apr
23
answered How to list all names and descriptions of a custom taxonomy
Apr
22
asked Plugin translation not displaying
Feb
18
answered Ways of managing staging and production wordpress sites?
Jan
16
answered Running a custom query inside another cpt single and trying to grab a variable
Sep
24
awarded  Autobiographer
May
18
comment Problems with redirecting a BuddyPress custom subnav item
Yes, that works! Thank you!
May
18
accepted Problems with redirecting a BuddyPress custom subnav item
May
17
asked Problems with redirecting a BuddyPress custom subnav item
Feb
14
comment Shortcode default attributes over-riding non-default attributes
Actually, upon even further investigation, it appears that this problem is caused by Advanced Custom Fields. The shortcode works fine everywhere on the site except in an ACF WYSIWYG field.
Feb
14
comment Shortcode default attributes over-riding non-default attributes
I am using this in a child theme of the Oxygen theme, which is built on Hybrid core. Might that be causing my problem?
Feb
14
comment Shortcode default attributes over-riding non-default attributes
On further investigation, this is a child theme, and I think there is something in the parent theme that is messing with shortcodes....
Feb
14
asked Shortcode default attributes over-riding non-default attributes
Jan
16
answered Reducing image size in RSS only
Oct
9
asked wp_editor loses data, perhaps an html_entity_decode problem?