Skip to content

Tag: html

addEventListener to multiple checkboxes

Below, I have a simple form that has 4 checkboxes acting as seats. What I am trying to do is when a visitor chooses, say, seat checkboxes with IDs A2 and A4, I want those IDs and their total value to be shown instantly after clicking inside a paragraph with which have a name called id=”demo”. When…

How can i take the element name inside the Html

How can i able to find the date format in UTC from the html element 2018-06-14T03:00:00.000Z. I am new in php so i don’t know how to grab it. Answer You might do it using find for getting the div with classname fi-mu__info__datetime and then getting the data-utcdate: If you only want the first one you c…

Add headers to CSV file via PHP

I have the following PHP script for creating CSV and collecting data from HTML form to CSV file, but I can’t add headers to the first row of CSV file. I’m a newbie in PHP world so I’ll appreciate if …

How to record HTML5 video in Safari?

I have to develop video recording in Safari 11. I have used getUserMedia() to play video in Safari and It is working but It is not recording the video. I have developed video recording in Chrome and Mozilla using Media Recorder. Media Recorder is not supporting in Safari 11 for recording video.How will i reco…

How could I use local fonts in website

I want to show my business tagline in “monotype corsiva” font it is not available on Google font so any body can please help me out for it . Answer Paste all these font formates in your css folder otf/ttf/woff. Add in your stylesheet:- now use this to apply font family font-family: ‘MTCORSVA…