Jump to content

William Bruno

Moderadores Globais
  • Content count

    27703
  • Joined

  • Last visited

  • Days Won

    186

Everything posted by William Bruno

  1. William Bruno

    Mudar de "OK" Para "Home" e "Cancelar" para "Estoque"

    com javascript puro não é possível. plugins existem vários: https://craftpip.github.io/jquery-confirm/
  2. William Bruno

    Transformar letra em número

    Não entendi bem, mas ou vc faz um array e pega o índice de cada letra, ou usa uma função como o charCodeAt. > 'b'.charCodeAt() 98 > 'a'.charCodeAt() 97 > 'c'.charCodeAt() 99 > 'd'.charCodeAt() 100 > 'A'.charCodeAt() 65 > ['a','b','c'].indexOf('a') 0 > ['a','b','c'].indexOf('c') 2
  3. William Bruno

    Salvar dados dos Inputs clonados pelo OnClick

    vc transforma em um array: <input type="text" id="quantidade" name="quantidade[]" placeholder="Digite a Quantidade" > e ai no server-side, vc tem que iterar nesse array: $quantidade1 = $_POST['quantidade'][0]; $quantidade2 = $_POST['quantidade'][1]; entendeu?
  4. William Bruno

    Avançar campo (tab) após selecionar item no select

    no evento onchange do select, vc dispara um .focus do campo de quantidade.
  5. William Bruno

    addEventListener

    não entendi. porque você acha que precisa disso?
  6. William Bruno

    Manchas em background de pagina HTML

    posta um link com o codigo, ou cola o codigo aqui.
  7. ai vc vai precisar gravar em um cookie, pois quando carregar a proxima pagina, a memoria do javascript vai ser reiniciada, e as variaveis voltarão ao valor inicial. com um cookie, vc teria essa referência
  8. vc precisa usar javascript. uma forma é fazer inline: <select id="ano" onchange="document.getElementById('link').href = this.value"> <option selected>2019</option> <option value="2018">2018</option> <option value="2017">2017</option> </select> <div id="anoAtual"></div> <a href="" id="link">
  9. William Bruno

    alinhamento do texto

    vc esqueceu de fechar a UL antes de abrir o outro h1
  10. William Bruno

    Desenvolvimento de Sistema Web para Gestão em Javascript

    Sim, tudo é possivel com linguagens de programação. além de javascript client, vc vai precisar de uma linguagem server-side e um banco de dados.
  11. William Bruno

    pegar valor de variável javascript

    <? echo "Olá <script>$_POST['aviso']</script>" ?>
  12. da uma olhada nesse projeto https://clipboardjs.com/
  13. William Bruno

    Duvida no exercício de algoritmo

    Oi Lucas, o que vc ja fez?
  14. $("#ano").on('change', function () { $("#anoAtual").href('resultado.php?ano=' + $(this).val()); });
  15. William Bruno

    Banner a baixo do rodapé

    o que esta impedindo que o anuncio fixo fique o por cima do rodape, é esse estilo com altura aqui: #espaco-anuncio-fixo.fixed se deletar o estilo o anuncio fica.
  16. William Bruno

    pegarstring title

    alert(document.title)
  17. William Bruno

    Mecanismo de busca automático asp

    da uma pesquisada sobre selenium
  18. uma forma, é vc manter isso num cookie. o que ocorre, é que quando vc muda de pagina, o browser recarrega, ai o js perde toda a memoria do que aconteceu. com cookie, vc gravaria a ação no momento do click, e quando a pagina carregasse, vc leria desse cookie para ver o que deve fazer.
  19. qual é a duvida? posta o script_oportunidades.js
  20. William Bruno

    Adicionar linhas dinamicamente

    vc precisa instanciar o plugin logo após criar o elemento pseudo código: $(INPUT QUE ACABOU DE SER CRIADO).select2();
  21. William Bruno

    Obter document.getElementById no php

    vc vai ter que enviar via $_POST ou $_GET.
  22. no caso dele acredito que um UNION ALL resolva. pois não tem relacionamento entre as linhas, ele só quer retornar todas.
  23. William Bruno

    Help em Formulário HTML com PHP

    Tente usar a classe PHPMailer.
  24. Logfile of Trend Micro HijackThis v2.0.5 Scan saved at 20:54:56, on 12/07/2018 Platform: Unknown Windows (WinNT 6.02.1008) MSIE: Internet Explorer v11.0 (11.00.17134.0001) Boot mode: Normal Running processes: C:\Users\rocha\AppData\Local\Microsoft\OneDrive\OneDrive.exe C:\Program Files (x86)\Steam\Steam.exe C:\Program Files (x86)\Steam\bin\cef\cef.win7\steamwebhelper.exe C:\Program Files (x86)\Steam\bin\cef\cef.win7\steamwebhelper.exe C:\Program Files (x86)\Steam\bin\cef\cef.win7\steamwebhelper.exe C:\Program Files (x86)\Steam\bin\cef\cef.win7\steamwebhelper.exe C:\Program Files (x86)\Common Files\Apple\Internet Services\iCloudServices.exe C:\Program Files (x86)\Common Files\Apple\Apple Application Support\APSDaemon.exe C:\Users\rocha\AppData\Local\Microsoft\OneDrive\18.091.0506.0007\FileCoAuth.exe C:\Users\rocha\AppData\Roaming\uTorrent\uTorrent.exe C:\Users\rocha\AppData\Roaming\uTorrent\updates\3.5.3_44396\utorrentie.exe C:\Users\rocha\AppData\Roaming\uTorrent\updates\3.5.3_44396\utorrentie.exe C:\Users\rocha\Downloads\HijackThis.exe R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Page = http://go.microsoft.com/fwlink/?LinkId=54896 R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = http://go.microsoft.com/fwlink/p/?LinkId=619797&pc=UE01&ocid=UE01DHP R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Page_URL = http://go.microsoft.com/fwlink/p/?LinkId=255141 R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Search_URL = http://go.microsoft.com/fwlink/?LinkId=54896 R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Page = http://go.microsoft.com/fwlink/?LinkId=54896 R0 - HKLM\Software\Microsoft\Internet Explorer\Main,Start Page = http://go.microsoft.com/fwlink/p/?LinkId=255141 R0 - HKLM\Software\Microsoft\Internet Explorer\Search,SearchAssistant = R0 - HKLM\Software\Microsoft\Internet Explorer\Search,CustomizeSearch = R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Local Page = %11%\blank.htm R0 - HKLM\Software\Microsoft\Internet Explorer\Main,Local Page = C:\Windows\SysWOW64\blank.htm R1 - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings,ProxyOverride = *.local R0 - HKCU\Software\Microsoft\Internet Explorer\Toolbar,LinksFolderName = F2 - REG:system.ini: UserInit= O4 - HKCU\..\Run: [OneDrive] "C:\Users\rocha\AppData\Local\Microsoft\OneDrive\OneDrive.exe" /background O4 - HKCU\..\Run: [Steam] "C:\Program Files (x86)\Steam\steam.exe" -silent O4 - HKCU\..\Run: [iCloudServices] "C:\Program Files (x86)\Common Files\Apple\Internet Services\iCloudServices.exe" O4 - HKCU\..\Run: [GoogleChromeAutoLaunch_55291E691241D99943A34E14F28004C6] "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --no-startup-window /prefetch:5 O4 - HKCU\..\Run: [CCleaner Monitoring] "C:\Program Files\CCleaner\CCleaner64.exe" /MONITOR O4 - HKCU\..\RunOnce: [iCloud] "C:\Program Files (x86)\Common Files\Apple\Internet Services\iCloud.exe" O8 - Extra context menu item: E&xport to Microsoft Excel - res://C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE/3000 O8 - Extra context menu item: Se&nd to OneNote - res://C:\Program Files (x86)\Microsoft Office\Root\Office16\ONBttnIE.dll/105 O9 - Extra button: Send to OneNote - {2670000A-7350-4f3c-8081-5663EE0C6C49} - C:\Program Files (x86)\Microsoft Office\root\Office16\ONBttnIE.dll O9 - Extra 'Tools' menuitem: Se&nd to OneNote - {2670000A-7350-4f3c-8081-5663EE0C6C49} - C:\Program Files (x86)\Microsoft Office\root\Office16\ONBttnIE.dll O9 - Extra button: OneNote Lin&ked Notes - {789FE86F-6FC4-46A1-9849-EDE0DB0C95CA} - C:\Program Files (x86)\Microsoft Office\root\Office16\ONBttnIELinkedNotes.dll O9 - Extra 'Tools' menuitem: OneNote Lin&ked Notes - {789FE86F-6FC4-46A1-9849-EDE0DB0C95CA} - C:\Program Files (x86)\Microsoft Office\root\Office16\ONBttnIELinkedNotes.dll O11 - Options group: [ACCELERATED_GRAPHICS] Accelerated graphics O18 - Protocol: mso-minsb-roaming.16 - {83C25742-A9F7-49FB-9138-434302C88D07} - C:\Program Files (x86)\Microsoft Office\root\Office16\MSOSB.DLL O18 - Protocol: mso-minsb.16 - {42089D2D-912D-4018-9087-2B87803E93FB} - C:\Program Files (x86)\Microsoft Office\root\Office16\MSOSB.DLL O18 - Protocol: osf-roaming.16 - {42089D2D-912D-4018-9087-2B87803E93FB} - C:\Program Files (x86)\Microsoft Office\root\Office16\MSOSB.DLL O18 - Protocol: osf.16 - {5504BE45-A83B-4808-900A-3A5C36E7F77A} - C:\Program Files (x86)\Microsoft Office\root\Office16\MSOSB.DLL O18 - Protocol: tbauth - {14654CA6-5711-491D-B89A-58E571679951} - C:\Windows\SysWOW64\tbauth.dll O18 - Protocol: windows.tbauth - {14654CA6-5711-491D-B89A-58E571679951} - C:\Windows\SysWOW64\tbauth.dll O18 - Filter hijack: text/xml - {807583E5-5146-11D5-A672-00B0D022E945} - C:\Program Files (x86)\Microsoft Office\root\VFS\ProgramFilesCommonX86\Microsoft Shared\Office16\MSOXMLMF.DLL O23 - Service: @%SystemRoot%\system32\Alg.exe,-112 (ALG) - Unknown owner - C:\WINDOWS\System32\alg.exe (file missing) O23 - Service: Apple Mobile Device Service - Apple Inc. - C:\Program Files\Common Files\Apple\Mobile Device Support\AppleMobileDeviceService.exe O23 - Service: @%SystemRoot%\system32\DiagSvcs\DiagnosticsHub.StandardCollector.ServiceRes.dll,-1000 (diagnosticshub.standardcollector.service) - Unknown owner - C:\WINDOWS\system32\DiagSvcs\DiagnosticsHub.StandardCollector.Service.exe (file missing) O23 - Service: @%SystemRoot%\system32\efssvc.dll,-100 (EFS) - Unknown owner - C:\WINDOWS\System32\lsass.exe (file missing) O23 - Service: @%systemroot%\system32\fxsresm.dll,-118 (Fax) - Unknown owner - C:\WINDOWS\system32\fxssvc.exe (file missing) O23 - Service: iPod Service - Apple Inc. - C:\Program Files\iPod\bin\iPodService.exe O23 - Service: @keyiso.dll,-100 (KeyIso) - Unknown owner - C:\WINDOWS\system32\lsass.exe (file missing) O23 - Service: @comres.dll,-2797 (MSDTC) - Unknown owner - C:\WINDOWS\System32\msdtc.exe (file missing) O23 - Service: @%SystemRoot%\System32\netlogon.dll,-102 (Netlogon) - Unknown owner - C:\WINDOWS\system32\lsass.exe (file missing) O23 - Service: NVIDIA Display Container LS (NVDisplay.ContainerLocalSystem) - NVIDIA Corporation - C:\Program Files\NVIDIA Corporation\Display.NvContainer\NVDisplay.Container.exe O23 - Service: @%systemroot%\system32\Locator.exe,-2 (RpcLocator) - Unknown owner - C:\WINDOWS\system32\locator.exe (file missing) O23 - Service: @%SystemRoot%\system32\samsrv.dll,-1 (SamSs) - Unknown owner - C:\WINDOWS\system32\lsass.exe (file missing) O23 - Service: @%systemroot%\system32\SecurityHealthAgent.dll,-1002 (SecurityHealthService) - Unknown owner - C:\WINDOWS\system32\SecurityHealthService.exe (file missing) O23 - Service: @%ProgramFiles%\Windows Defender Advanced Threat Protection\MsSense.exe,-1001 (Sense) - Unknown owner - C:\Program Files (x86)\Windows Defender Advanced Threat Protection\MsSense.exe (file missing) O23 - Service: @%SystemRoot%\system32\SensorDataService.exe,-101 (SensorDataService) - Unknown owner - C:\WINDOWS\System32\SensorDataService.exe (file missing) O23 - Service: @%SystemRoot%\System32\SgrmBroker.exe,-100 (SgrmBroker) - Unknown owner - C:\WINDOWS\system32\SgrmBroker.exe (file missing) O23 - Service: @%SystemRoot%\system32\snmptrap.exe,-3 (SNMPTRAP) - Unknown owner - C:\WINDOWS\System32\snmptrap.exe (file missing) O23 - Service: @%systemroot%\system32\spectrum.exe,-101 (spectrum) - Unknown owner - C:\WINDOWS\system32\spectrum.exe (file missing) O23 - Service: @%systemroot%\system32\spoolsv.exe,-1 (Spooler) - Unknown owner - C:\WINDOWS\System32\spoolsv.exe (file missing) O23 - Service: @%SystemRoot%\system32\sppsvc.exe,-101 (sppsvc) - Unknown owner - C:\WINDOWS\system32\sppsvc.exe (file missing) O23 - Service: Steam Client Service - Valve Corporation - C:\Program Files (x86)\Common Files\Steam\SteamService.exe O23 - Service: @%SystemRoot%\system32\TieringEngineService.exe,-702 (TieringEngineService) - Unknown owner - C:\WINDOWS\system32\TieringEngineService.exe (file missing) O23 - Service: @%SystemRoot%\system32\vaultsvc.dll,-1003 (VaultSvc) - Unknown owner - C:\WINDOWS\system32\lsass.exe (file missing) O23 - Service: @%SystemRoot%\system32\vds.exe,-100 (vds) - Unknown owner - C:\WINDOWS\System32\vds.exe (file missing) O23 - Service: @%systemroot%\system32\vssvc.exe,-102 (VSS) - Unknown owner - C:\WINDOWS\system32\vssvc.exe (file missing) O23 - Service: @%systemroot%\system32\wbengine.exe,-104 (wbengine) - Unknown owner - C:\WINDOWS\system32\wbengine.exe (file missing) O23 - Service: @%Systemroot%\system32\wbem\wmiapsrv.exe,-110 (wmiApSrv) - Unknown owner - C:\WINDOWS\system32\wbem\WmiApSrv.exe (file missing) O23 - Service: @%PROGRAMFILES%\Windows Media Player\wmpnetwk.exe,-101 (WMPNetworkSvc) - Unknown owner - C:\Program Files (x86)\Windows Media Player\wmpnetwk.exe (file missing) O23 - Service: @%systemroot%\system32\xbgmsvc.exe,-100 (xbgm) - Unknown owner - C:\WINDOWS\system32\xbgmsvc.exe (file missing) -- End of file - 9009 bytes O meu mouse as vezes fica travando. Eu não sei o motivo, e não tem nada que esteja claramente consumindo muito recursos.
  25. William Bruno

    Dicionario de Métodos

    Na MDN tem referência dos métodos, veja o classList por exemplo: https://developer.mozilla.org/pt-BR/docs/Web/API/Element/classList
×

Important Information

Ao usar o fórum, você concorda com nossos Terms of Use.