Latest Questions tagged Html

Browse all latest questions tagged Html

75
Votes
Published 09 Jul, 2022
Jquery - Event Listener for Multiple Radio Button Groups

How would you have a dynamic Javascript/JQuery event listener to know which radio button group is clicked and retrieve the value of the checked element. For example if I have two radio button groups h...

64
Votes
Published 25 Jun, 2022
Reactjs - React canvas TypeError: Cannot read property 'getContext' of null after re-render

I have a canvas, which uses the canvas.getContext( "2d" ) in ref. my problem is that when the page re-renders, bc a state changes, I get an error and idk how to fix it. this is a minimal cod...

11
Votes
Published 04 Aug, 2022
Jquery - HTML Submit form on dropdown change

Good morning! I know that this topic has been covered on SO before but I couldn't find the full answer to my specific situation below so I apologize if I missed the answer elsewhere. Scope: What I...

40
Votes
Published 09 Aug, 2022
Jquery - Create Image based on JSON output

I need help to create set of images via JSON in ASP .NET MVC4. Is it possible to do? My working code is following and I have no idea how to integrate that functionality. Thank you for any help! [...

21
Votes
Published 10 Jun, 2022
Javascript - How do I restrict past dates in html5 input type Date

I am trying to restrict past dates in input type="date".I can able to restrict future dates,But I don't have idea about restricting past dates. $(function(){ var dtToday = new Date();...

2
Votes
Published 16 Apr, 2022
Javascript - How to get the value of all p and h tags in a html page excluding all other tags

I am trying to load a HTML page into my app. I want to show only the content of the HTML page. please help me with a javascript function where I can loop through all the p tags and get the content of...

28
Votes
Published 23 Apr, 2022
Javascript - How to dynamically create '@-Keyframe' CSS animations?

I have a requirement to rotate a div and stop at a particular position ( The value will be received from the server). I tried native JS to rotate and stop but it is eating up my CPU big time. I can...

48
Votes
Published 09 Jul, 2022
Jquery - How to create hyperlink or clickable cell inside a Bootstrap DataTable?

I have a sample json file with data: "data" : [ { "id": 1, "firstName": "Fred", "lastName": "Flintstone", "userName": "fredf" }, { "id": 3, "f...

67
Votes
Published 05 Aug, 2022
Jquery - Can I auto-submit a file upload?

I would like to facilitate a file upload without a submit button. I've managed to hide the file upload button but I'm not sure whether it is possible to hide the submit button and also auto-submit the...

99
Votes
Published 22 Aug, 2022
Python - Flask does not load css file

I have started to work on flask, and the problem is i have created a css file in static folder and wanted to load that css file on template. but it is not loading css file even if i try this on incog...

2
Votes
Published 16 Apr, 2022
Javascript - Multiple buttons and modals

I'm new to JS and although I have bought some books to start learning properly I wondered if anyone could advise with this? I have store that lists many products. On the store page I have added a butt...

100
Votes
Published 09 Jul, 2022
Jquery - Add active class dynamically to menu and its submenu using jquery

I create an application in asp.net mvc. This is a code of HTML that I created for navigation bar. <div id="sidebar" class="nav-collapse"> <div class="leftside-navigatio...

14
Votes
Published 06 Jun, 2022
Javascript - Where does Firefox store javascript/HTML localStorage?

I have made an advanced functional prototype of a simple web application, and delays have pushed this into the position of going "live". At the moment, it just uses JavaScript's localStorage facility...

84
Votes
Published 09 Jul, 2022
Jquery - Fixed html table header while scrolling

I have the following table structure: <table> <thead> <tr> <th colspan="4">Current</th> <th colspan="4">New/Requested</th>...

31
Votes
Published 05 Aug, 2022
Jquery - Rotation of CSS arrow and javascript toggling

I have two div banners that have corresponding CSS arrows. When the banners are clicked, the javascript toggles between revealing and hiding the text underneath. Likewise, the respective arrows rotat...