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! [...

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...

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...

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...

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 - 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...

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();...

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...

69
Votes
Published 04 Aug, 2022
Jquery - jQuery to select href with a forward slash in it

I have a link <a href="foo/bar">example</a> and I'm trying to use jQuery to select it via $("a[href=foo/bar]") but I run into the following error: Error: Syntax error, unrecognized exp...

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...

91
Votes
Published 05 Aug, 2022
Jquery - CarouFredSel:Show hide div issue

I am trying to use CarouFredSel for to display different images in a div which needs to be hidden in the beginning and visible when some button is clicked later. But its not working as i expected.But...