420DankStank
Forum Replies Created
-
Forum: Plugins
In reply to: Javascript problem. Submit button on form does nothing.Well, no thanks here, but I did get an answer on Stack Overflow. I had to change the first bit of code to remove the ajaxComplete part.
$j.ajax({ type: "POST", url: "' . $cs_base_dir . 'verify.php", data: str, success: function(msg){ $j("#note").html(msg); } });
It works now.
Forum: Plugins
In reply to: Javascript problem. Submit button on form does nothing.So if I enter info into the form and click submit, nothing is happening on the webpage. However, I can check the developer tools -> network tools, it shows the verify php file. I click it and it shows the header requests and responses. The header response shows the correct info, but for some reason it is not displayed. HELP?
Forum: Plugins
In reply to: Javascript problem. Submit button on form does nothing.There is also this:
// now we put all of the HTML for the form into a PHP string $content .= '<div id="verify-a-rec" class="clear">'; $content .= '<div id="fields">'; $content .= '<h4>Verify A Recommendation</h4>'; $content .= '<div class="verify_search">'; $content .= '<form id="pubverify-form" action="">'; $content .= '<div class="label_wrap_verify"><label class="error" for="search_last_name">Last Name </label>'; $content .= '<div class="input_wrap_verify"><input name="search_last_name" type="text" id="search_last_name"/></div></div>'; $content .= '<div class="label_wrap_verify"><label class="error" for="search_dob">Birthdate (mm-dd-yyyy) </label>'; $content .= '<div class="input_wrap_verify"><input name="search_dob" type="text" id="search_dob"/></div></div>'; $content .= '<div class="label_wrap_verify"><label class="error" for="search_issue_date">Issue Date (mm-dd-yyyy)</label>'; $content .= '<div class="input_wrap_verify"><input name="search_issue_date" type="text" id="search_issue_date"/></div></div>'; $content .= '<div class="button_wrap"><input type="submit" value="Verify" class="button" id="pubverify-submit" /></div>'; $content .= '</form>'; $content .= '</div>'; $content .= '</div>'; $content .= '<div style="clear:both"></div>'; $content .= '<div id="note">'; $content .= '<p>Enter a Recommendation ID and click Verify!</p>'; $content .= '<div class="patient_wrapper">'; $content .= '<div class="results_label">First Name </div>'; $content .= '<div class="results_label">Last Name </div>'; $content .= '<div class="results_label">Date of Birth </div>'; $content .= '<div class="results_label">Issue Date </div>'; $content .= '<div class="results_label">Expiration Date </div>'; $content .= '<div class="results_label">Dr. Information </div>'; $content .= '</div>'; $content .= '</div>'; $content .= '</div>'; return $content; }
Forum: Fixing WordPress
In reply to: JS errorAlso tried adding Use Google Libraries plugin. Didn’t help.
Forum: Fixing WordPress
In reply to: Post 404 not found, Jquery errorI don’t know what happened. I just uploaded the plugin folder again and overwrote everything. It’s working again.
Forum: Fixing WordPress
In reply to: Post 404 not found, Jquery errorHere is the Javascript file: https://pastebin.com/9892EY9T
Forum: Fixing WordPress
In reply to: Post 404 not found, Jquery errorI don’t understand. It has worked for the past year. Here is the whole loadpatient.php file: https://pastebin.com/K4N6fkMV
Forum: Fixing WordPress
In reply to: Post 404 not found, Jquery errorThe root location is defined in another php file.
Forum: Fixing WordPress
In reply to: Post 404 not found, Jquery error* plugin_location + ‘loadpatient.php’, *
Forum: Fixing WordPress
In reply to: Post 404 not found, Jquery errorI suppose that is a little confusing. It looks like I put two call functions up there. It is just the first. plugin_location = ‘loadpationt.php’,:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. Not the blockquote. ]
$j("#loadpatient-form").submit(function() { $j("#loading_spinner").show(); var str = $j(this).serialize(); $j.ajax({ type: "POST", url: plugin_location + 'loadpatient.php', data: str, success: function(msg) { $j("#note").ajaxComplete(function(event, request, settings) { $j("#loading_spinner").hide(); $j(this).html(msg);
Forum: Fixing WordPress
In reply to: Child Theme HelpHURRAY! I changed the child theme folder name to not have the space. Boom Calling correctly. Sheesh. Thanks for your help!
Forum: Fixing WordPress
In reply to: Child Theme HelpI tried that link for the style sheet. You were missing the space between lite and child.
https://althealththc.com/wordpress/wp-content/themes/business-lite%20child/style.css
Forum: Fixing WordPress
In reply to: Child Theme HelpOH. No child theme support. That’s dumb. I thought child themes were allowed on any theme.
Forum: Fixing WordPress
In reply to: Child Theme HelpDo I need to put anything else infront of my custom css rule?
/* This will edit the Font */
.error {font-size:18px; text-align:left; }Forum: Fixing WordPress
In reply to: Child Theme HelpYes. It says it is active on the dashboard. But the rule seems to be still coming from the main themes css file.