Posts by Isaac Bruno • 314 points
12 posts
- 
		2 votes3 answers82 viewsA: How do I use Javascript to check if my input has any written text?Your question needs further clarification, but assuming your element with the "email" class is an input and not an element like DIV, the correct way to fetch the field value is by using value, not… 
- 
		0 votes2 answers39 viewsA: Increase and decrease the amount of the selected element through the classTry it like this: <script> function process_geral(quant, element){ var classValue = parseInt(element.parentElement.querySelector('.quanti').value); classValue+=quant;… 
- 
		1 votes1 answer43 viewsA: How to check if the return Ajax is emptyThe problem is why you’re trying to compare data.CelularCorporativo with null, but set null between quotes, and javascript will basically interpret this as a string, not as null. The right thing… ajaxanswered Isaac Bruno 314
- 
		0 votes1 answer24 viewsA: I need help with this javascript and html cd, there is no return of values from "Function Calc(x)" to "Function total(num1, num2, X)"Hello. Every WEB developer must learn to use the browser console. Just press F12 and look at the console to see that it is giving error in your script: Uncaught TypeError: document.getElementByid is… 
- 
		0 votes1 answer44 viewsA: Conditional to capture JSON information via PyhtonBy what I could understand you would need to go through the array of services to use each service individually. See more on Documentation of W3schools for service in cfg['service']: fsurl =… 
- 
		0 votes1 answer65 viewsA: Sumario to PDF with Dompdf/dompdfI don’t know if I understand you but you need to link to the summary that takes the page in question, right? If so, you need to anchor your links. <!-- Links do sumário deverão ser dessa forma… 
- 
		1 votes1 answer22 viewsA: Debuggar with fwrite() in PHPI would try to replace fwrite by file_put_contents, which is basically the same as a fopen, fwrite and fclose at each run. $i = 0; $log_file = 'arquivo-log'; while($i < 5) { $req =… 
- 
		1 votes1 answer17 viewsA: How to use materialize Feature Discovery only on first page access?What’s the problem of using localStorage? You can use it, there is nothing abnormal or inelegant to do this. Another way would be using a cookie. Example of localStorage:… 
- 
		1 votes1 answer34 viewsA: Recover a component generated by a for loop in VuejsCome on. First you must create a mutator method, that is, it will change the "Selected" pointer. EX: methods: { setSelected(index) { this.selected = index; } } At the event @click of the DIV you… vue.jsanswered Isaac Bruno 314
- 
		0 votes1 answer53 viewsA: Subscribe button only works in the second clickSeeing your code, I’m guessing there’s some conflict between Angular and Bootstrap. Have you tried not using the <a> tag as toggle for the bootstrap modal? If not, test, maybe this is it. If… angularanswered Isaac Bruno 314
- 
		4 votes1 answer212 viewsA: By select value in a PHP variable: LARAVEL BLADEApparently you are a little confused about how PHP works. PHP is a server-side language, that is, interpreted on the server. There is no way for a variable in PHP to receive the value of a select,… 
- 
		0 votes1 answer400 viewsA: Laravel: Take the value of an array without foreachFrom what I could see the correct would be to use $Tenantid[0]->tenant_id