Posts by Marcus V. Nash • 123 points
5 posts
-
0
votes2
answers23
viewsA: onSearch event (html and Java)
You must pass the input value function carregar(){ var conc = document.getElementById('orgao').value; var img = document.getElementById('imagem') alert('conc: '+conc); if(conc == "TJ RJ"){ img.src =…
javascriptanswered Marcus V. Nash 123 -
1
votes1
answer811
viewsA: List data in a drop down related to the result of another drop down
It seems complicated what you want, but it’s simpler than you think. You will first have to separate the PHP file used to query the database. Suppose you have a query file for users whose name is…
-
6
votes1
answer3498
viewsA: Dynamic update without refreshing page
Hello. You are on the right track so I will be objective. There are several ways to achieve this result. The code you are using is incomplete, so it doesn’t work, you have to bring the new result…
-
1
votes1
answer728
viewsA: Query $.get json and show result
The problem is in the return of the code, you are using the getJSON function, in this case the PHP value should be returned via JSON and not as an HTML. The way you are using, change the getJSON…
-
1
votes1
answer847
viewsQ: Friendly URL on Windows 2003/2008 hosting with PHP site
I need to convert this file .htaccess for a Windows hosting compatible format at Locaweb. RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$…