Posts by Luma Macagnan • 126 points
4 posts
-
2
votes3
answers87
viewsA: How to do it when checking a checkbox it changes the background color of a td of a table and when unknowing it returns to its normal color
You can check if the checkbox is checked to do the action you want: $('.checkbox-regularC').click(function(){ if ($('.checkbox-regularC').is(':checked')) {…
-
5
votes3
answers619
viewsA: What is String.raw for in Javascript?
The method String.raw is used to get the string clean without escaping the characters. eg: console.log("String com caracteres \nespeciais"); console.log(String.raw`String com caracteres…
-
3
votes3
answers4012
viewsA: input datetime-local value
You can use it this way: $dateHtml = date("Y-m-d\TH:i:s", strtotime($date)); and add value to html.
-
1
votes1
answer637
viewsA: How to change Modal content?
From what I understood by the flow that you went through when clicking on "enter" the user would be redirected to the modal of the ad that he previously selected. Meanwhile the login button is…