Posts by Renan Borges • 301 points
6 posts
-
2
votes2
answers174
viewsA: React JS routes do not work in production
This is a fairly common problem no matter how simple it may seem to other people. Basically the following things are happening with your project: Your React project works right on localhost because…
-
0
votes3
answers536
viewsA: Retrieve from the database the "data-*value" attribute of a field through jquery
To set the value $('seuelemento').attr('data-valor', valorquevcker); To read the value $('seuelemento').attr('data-valor'); To take the value of the database in PHP and play in the view in your…
-
1
votes3
answers3776
viewsA: How to run a jquery/javascript function only in the page load and avoid postback?
Ideally instead of you throwing this responsibility to the backend side is to keep it on the front end. So save its state in the cookie. And then do the javascript check by reading from the cookie…
-
3
votes1
answer93
viewsA: MSI Installer - customizing the installer
You can use the Inno Setup along with the Istool In it you can configure an xml with all the actions you want to do, even cascade installers. You in addition to being able to mount your installer on…
visual-studioanswered Renan Borges 301 -
2
votes1
answer958
viewsA: Loading only appears after page loaded
It only appears because you are loading the page as a whole within an iframe. That is, the gif is only loaded after the request is finished. To solve this you have to remove this gif from the page…
-
6
votes1
answer283
viewsA: Javascript only works if placed directly on the page
You’re probably having trouble placing your file on the page, make sure jQuery was linked to the page before your code. To facilitate also, instead of creating two scopes of: $(function($){ }); You…