Jquery dropdown menus working locally, but not in WordPress [duplicate]

First thing you do about this issue is try to check if the button calls the jquery function. for example: $(#submit-button).click(function(){ alert(‘button was clicked!’); // to display an alert }); or using the console $(#submit-button).click(function(){ console.log(‘button was clicked!’); // check using web browser console }); If one of them works then there is no issue … Read more

Open WordPress Page from selected option dropdown

Looks like not many folks do this. Anyway here’s something that works for me to get drop-down select to go to WordPress page” <?php $my_title = $_POST[‘place’]; global $wpdb; $mypost = $wpdb->get_row( “SELECT * FROM wp_posts WHERE post_title=”” . $my_title . “” ” ); $permalink = get_permalink($mypost->ID); echo “<a href=$permalink><BR>Click Here to Go to Selection</a>”; … Read more