Posts by Vinícius • 163 points
8 posts
-
4
votes1
answer84
viewsQ: How to load a plugin according to the width of the screen?
Hello, my problem is this, I have two Plugins with similar functions, however they cannot be loaded at the same time as errors occur. Is there any way to load a particular script according to…
javascriptasked Vinícius 163 -
1
votes1
answer951
viewsQ: Is there any way to get the "value" of a "select" from PHP?
I’m trying to catch the id of a product through a jQuery function, but I need to pass this variable to php, and as this chunk of PHP code is already inside the <script></script> does not…
-
4
votes5
answers6237
views -
3
votes2
answers5819
viewsQ: How to redeem the values contained in a span with jQuery?
How to take the values that are inside a span? For example: <?php $total_prod = $this->totalRegistros($sql_prod); $preco=$this->getPreco(); for($j=0;$j<$total_prod;$j++){ echo"…
-
1
votes2
answers1508
views -
1
votes2
answers1508
viewsQ: how to select an option and update the values (price, images ...) that are in the database?
I have a system of computer budgets on the site, with several options, and I want to update the page values when selecting an option without refresh. So I searched I will need to use ajax, but I…
-
1
votes3
answers855
viewsQ: How to change the selected option in my 'combobox' from a 'li'?
I need to make a page similar to this where I budget a computer. The last product of Chipart’s budget is the cabinet, their website has an option to open an image gallery and select which cabinet I…
-
0
votes3
answers446
viewsQ: How to let a div 'Fixed' be limited by a main div?
I’m trying to do something like this: https://www.chipart.com.br/computadores/monte_seu_pc where the div containing the purchase values is fixed only while the customization options are visible, but…