Skip to content

Tag: javascript

Information from ICEcast [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 7 years ago. Improve this question I have a Dutch Radio Station called FinioxFM and I would like to get infor…

The gzuncompress of php equivalent on javascript

I have a php file that do: and on javascript i do a request on php and i want a function that do the same of gzuncompress(data) for take the result = “TEST COMPRESS” again on client side. EDIT: Thank you @aaronk6, zlib worked! If someone ready this question, the zlib will works if the php is with …

Hide html content based on radio selection

Hi I’m fairly new to php/html and Im having trouble with hiding the inputs based on my radio input selection. I want to be able to hide the rest of the inputs if “yes” is selected but nothing happens. Any help would be greatly appreciated. Thanks. Answer Make sure your function block is clos…

update_order_review( ) on button click

I have a custom button on my checkout page, on click I’m adding a product to cart via AJAX. JS: PHP: After that, I’d need to refresh the order review, so it displays my newly added product also. How can I do that? Answer All you need to do is call a trigger on the body to update the cart.