Programming
-1
archive,category,category-programming,category-72,bridge-core-3.0.1,qodef-qi--no-touch,qi-addons-for-elementor-1.5.3,qode-page-transition-enabled,ajax_updown,page_not_loaded,,vertical_menu_enabled,side_area_uncovered_from_content,qode-theme-ver-28.7,qode-theme-bridge,disabled_footer_top,qode_header_in_grid,wpb-js-composer js-comp-ver-6.8.0,vc_responsive,elementor-default,elementor-kit-6

Programming

I get some interesting requests from my clients and some of them are head-scratchers. The beauty of Vue.js is that you can implement almost any behavior and do it fairly simply. In this case, the client wanted to swap in a different Act-On form via an...

Here is what I did to prevent a form submit based on a value. In this case, I'm checking to make sure a value is not blank. <form id="myform" method="post" v-on:submit="onSubmit" action="/path/to/form-handler"> methods: { onSubmit: function(e) { ...

A client asked me today if there is any way to have multiple Open Graph (og:image) images in an Act-On landing page, as Act-On only specifies one image in their SEO section. I searched around a bit, but then I realized that it's actually quite...

I recently needed to pull in a third party form into a page where I was using Vue.js. The form is displayed in an iframe and the adjacent content needed to react to submitting of the form, in this case a header needed to disappear....

I have three plush toys that sit behind my keyboard, Prickles the hedgehog, Spike the stingray, and Scarlet the octopus. They are muses of sorts and help me as I work. Prickles represents persistence and helps me to stay focused even when the work gets difficult....

I needed a quick way to check for XML well-formedness in a Perl Nagios script and I found that Test::XML has a test called is_well_formed_xml($xml) that does the job nicely. The only problem was that as part of the Test::More framework, Test::XML outputs test results...

A simple script to detect when a checkbox is clicked. What you do with once you've detected the click is up to you. <html> <head> <script src="http://www.google.com/jsapi"></script> <script> google.load("jquery", "1.3.2"); google.setOnLoadCallback(function() { $('#agree').click( function() { if($(this).attr('checked')){ ...

Mastodon