Posts by user49918 • 5 points
4 posts
-
-2
votes4
answers2929
viewsA: How do I capitalize the first letter?
<textarea value="" onfocus='document.getElementById("id").style.textTransform = "capitalize";'</textarea> Using this code works perfectly (Chrome and internet explorer).…
-
-4
votes2
answers1796
viewsA: Zoom in with jQuery
Redirects according to resolution Javascript will look like this: <script language="JavaScript"> if (screen.width == 800 || screen.height == 600) window.location.replace("800600/index.php")…
-
0
votes2
answers1226
viewsA: Put pointer on second line to write?
Just do it that way: <?php //Lê o arquivo $linhas = explode("\n", file_get_contents("./arquivo.txt")); //Lê somente o conteúdo da linha [1] do array ou seja linha 2 do texto $linha_n =…
-
0
votes3
answers17316
viewsA: Run external application with Javascript
Runs in Javascript <script> function Execultar(){ var shell = new ActiveXObject( "WScript.shell" ); shell.run( '"C:\\Windows\\System32\\notepad.exe"', 1, true );} </script> <a…