Forum Replies Created
-
AuthorPosts
-
Hi Yigit;
Thanks, that works!
Another problem now is that if I add this code to a page with content, like text and images, all the images do not appear.
Please see screendump:
https://www.hetoudeposthuys.nl/wp-content/uploads/2020/07/FireShot-Capture-003-Locatie-Het-Oude-Posthuys-www.hetoudeposthuys.nl_.pngAny suggestion on how to resolve this?
Thanks David
Hello, I am a bit puzzeled after trying different ccs examples I found on this blog.
I try to enable a border around a form field to enter an email addres:
Any help on this?
URL: https://www.hetoudeposthuys.nl/test/
CODE:
<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js”></script><form method=”post” name=”subscribeform” id=”subscribeform” enctype=”multipart/form-data”> <table border=0> <tr> <td><div class=”required”>Email</div></td> <td class=”attributeinput”><input type=text name=”email” value=”” id=”email” size=”40″></td> </tr> </table> <input type=hidden name=”htmlemail” value=”1″> <input type=”hidden” name=”list[2]” value=”signup” /> <input type=”hidden” name=”subscribe” value=”subscribe”/> <button class=’button’ onclick=”if (checkform()) {submitForm();} return false;” >Subscribe</button> <div id=”result” style=”color: black;”></div> </form>
<script type=”text/javascript”> function checkform() { re = /^\w+([.-]?\w+)@\w+([.-]?\w+)(.\w{2,3})+$/; if (!(re.test(jQuery(“#email”).val()))) { jQuery(“#result”).empty().append(“Please enter a valid email address”); jQuery(“#email”).focus(); return false; } return true; } function submitForm() { successMessage = ‘Thank you for your registration. Please check your email to confirm.’; data = jQuery(‘#subscribeform’).serialize(); jQuery.ajax( { type: ‘POST’, data: data, url: ‘https://mailing.hetoudeposthuys.nl/?p=subscribe&id=3’, dataType: ‘html’, success: function (data, status, request) { jQuery(“#result”).empty().append(data != ” ? data : successMessage); jQuery(‘#email’).val(”); }, error: function (request, status, error) { alert(‘Sorry, we were unable to process your subscription.’); } }); } </script>
Also not working for my site. jvingerhoets his solution may work, but way to technical to me.
Anyone did a roll-back to WP 5.3?
-
AuthorPosts