Posts by Magic Oz • 3 points
6 posts
-
0
votes2
answers583
viewsQ: Consuming API Reactjs
I’m new to Reactjs, when I try to consume a local API I can’t, I believe that’s the message: localhost You need to enable Javascript to run this app. My code: export default class App extends…
-
2
votes3
answers223
viewsA: Click and block inputs function
Think about creating a javascript function to determine what btn has to do $("#btnteste").click(function() { $("#id").val("#id").prop( "disabled", true ); }…
-
0
votes2
answers6935
viewsA: Concatenate values from the same column
I found a cool example of this site https://social.msdn.microsoft.com/Forums/sqlserver/pt-BR/6177bd7a-e2fc-46f4-9646-8fd1480cf14b/concatenar-valores-de-linhas-em-uma-coluna?forum=520 Example : Code…
-
1
votes2
answers105
viewsA: Concatenate varchar2 PLSQL
Jonathan I found a cool example of this site https://social.msdn.microsoft.com/Forums/sqlserver/pt-BR/6177bd7a-e2fc-46f4-9646-8fd1480cf14b/concatenar-valores-de-linhas-em-uma-coluna?forum=520 I have…
-
0
votes1
answer34
viewsQ: Nokogiri put tags with separation
teste = Nokogiri::XML::DocumentFragment.parse("") Nokogiri::XML::Builder.with( teste ){ |x| x.exemplo "teste xml" } puts teste.to_xml Message I printed out <exemplo>teste xml</exemplo>…
-
1
votes1
answer178
viewsQ: Ruby syntax error: Unexpected tCONSTANT, expecting keyword_end
When creating tables I used camelcase to create columns, but using Ruby on Rails to generate hash, when relating the two tables appears error message Code: @testes = Teste.find_by_sql( " SELECT *…