Posts by Carlos Messala Oliveira • 109 points
5 posts
-
1
votes2
answers251
viewsA: Change layout according to each button
You can create the properties for both style classes in your stylesheet (CSS) and change the class name using Javascript in real time. var r = confirm("Cliquei:\nOK para Pessoa Físca\n CANCEL para…
-
1
votes2
answers62
viewsA: Doubt with select in if
You have made a slight mistake using the "isset()" function. It checks whether the variable has already been defined and the result is boolean (true or false). I imagine you want the following:…
-
3
votes3
answers1008
viewsA: How is a class organized in memory?
In memory, everything is stored in the "address" = "value" format. No information is stored regarding the type or purpose for that value. Who takes care of checking the validity of each value (such…
-
4
votes3
answers249
viewsA: Change data value=" of tooltips if displayed in resolution less than 767px?
Use the "date()" method to change the value of the attribute. Put it inside the "ready()" call in your script. If all input with this tooltip is one of the "js-mytooltip" style classes, this command…
-
1
votes5
answers666
viewsA: Upper DIV occupying entire screen
Remember that HTML and BODY elements are also content type (as well as DIV), which have the 100% width property by default, but height is set to "on demand". The unit of measure in percentage ALWAYS…