I am having a specific requirements where I am selling three tickets type using contact form 7.
At the top the checkbox is presented to user where the user can select the ticket type he wants to purchase:
Ticket Category1: 30
Ticket Category2: 20
Ticket Category3: 15
When the user checks each of the category we have a text box that shows the total cost. My question is simple how to achieve this in JavaScript so that total of all three or whatever user chooses will get into the total amount text box.
Thanks
ST
(All tech. is running in the newest available version.)
]]>[insert_php]
echo 'We have got: ' . $_POST['name'] . '';
[/insert_php]
AND
var txt = document.getElementById("name");
var send = txt.options[txt.selectedIndex].text;
jQuery("button").click(function(){
jQuery.post(" ",
{
name: send,
},
function(data, status){
alert("Data: " + data + "\nStatus: " + status);
});
})};
my goal is to have a small php short code handle the POST request INSIDE its own page.
i keep getting 404 error page not found www.myurl.com/wp/index.php/test_page
thanks
EDIT: i have also tryied hardcoding the url of my test site same thing 404 error
]]>Do you have any plans to update the plugin to a later version of fullpage.js?
Cheers
Mike
https://www.ads-software.com/plugins/wp-fullpage/
]]>I check the codes but cant find it.
https://www.ads-software.com/plugins/simple-fullscreen-responsive-slider/
]]>In any case, for some reason on my site the <noscript> tag is never called. Never, ever. I’ve copy and pasted multiple working example codes and it never works. In fact <script> doesn’t seem to be working either. The only thing that does work is if <script> calls a php file, otherwise nothing works.
I’ve tried on multiple browsers and even my phone. Same results on everything. I have also disabled my plugins and nothing seems to be causing this error. It seems really weird and magical.
]]>Another plugin I want to use involves AJAX and is also having problems with ‘nothing happening’
Please let me know where to start.
Lastly, I have purchased the upgrade and while I can verify licence key in the settings I still get an error message saying ‘The W3 Total Cache license key is not active.. check again’
Please help ASAP.
https://www.ads-software.com/plugins/w3-total-cache/
]]>I am trying to put the below Javascript code in Sidebar
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
<script id="mNCC" language="javascript"> medianet_width='250'; medianet_height= '250'; medianet_crid='772566825'; </script> <script id="mNSC" src="https://contextual.media.net/nmedianet.js?cid=8CUGWVR1C" language="javascript"></script>
I tried it with all the below plugins
HTML Javascript Adder
Enhanced Text Widget
Allow Javascript in Text Widgets
But none of them are able to make in work. I am not a hardcoder and still in the learning phase.
Please confirm how to make the script work in my website.
]]>Thanks.
]]>And I am having trouble disabling the JS(the JS is teh live chat, which will take up the entire screen sace on a mobile so that the users will not be able to navigate it).
Here’s the code that I need to disable on mobile devices. How do I do that?
script type="text/javascript">
var _bcvma = _bcvma || [];
_bcvma.push(["setAccountID", "984362872993571532"]);
_bcvma.push(["setParameter", "WebsiteDefID", "8359441341062114808"]);
_bcvma.push(["setParameter", "InvitationDefID", "5669190252038772528"]);
_bcvma.push(["setParameter", "VisitName", ""]);
_bcvma.push(["setParameter", "VisitEmail", ""]);
_bcvma.push(["setParameter", "VisitRef", "Applewood Group"]);
_bcvma.push(["setParameter", "VisitInfo", ""]);
_bcvma.push(["setParameter", "CustomUrl", ""]);
_bcvma.push(["setParameter", "WindowParameters", ""]);
_bcvma.push(["addFloat", {type: "chat", id: "5123186526495717702"}]);
_bcvma.push(["pageViewed"]);
(function(){
var vms = document.createElement("script"); vms.type = "text/javascript"; vms.async = true;
vms.src = ('https:'==document.location.protocol?'https://':'https://') + "vmss.boldchat.com/aid/984362872993571532/bc.vms4/vms.js";
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(vms, s);
})();
</script>
<noscript>
<a href="https://www.boldchat.com" title="Live Chat Software"><img alt="Live Chat Software" src="https://vms.boldchat.com/aid/984362872993571532/bc.vmi?wdid=8359441341062114808&vr=Applewood Group&vi=&vn=&vp=&ve=&curl=" border="0" width="1" height="1" /></a>
</noscript>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
]]>