Posts by João • 75 points
5 posts
-
1
votes1
answer91
viewsQ: Javascript calling function without need . click
How can I call this function without having to create a button, for example: My controller sends a notification to the html of {{error}} or {{Success}} and both are hidden and I want to customize…
javascriptasked João 75 -
1
votes1
answer44
viewsQ: Merge controllers
I have this controller that sends a normal Error or Success notification $scope.add = function () { if(!$scope.name || !$scope.url ){ $scope.success = null; return $scope.error = 'Preencha todos os…
-
2
votes2
answers222
viewsQ: Button show div 1 and hide div 2 and vise versa
I want to make a single button that changes name and hides the div1 and shows the div2. The button would have the name div1 while showing the div1 and the same standard for div2. function…
-
2
votes2
answers179
viewsQ: Function that generates file
How to create a javascript function that generates a.ini file? For example, I will fill in 2 fields and it will generate a file like this [teste] nome: "campo 1 que vou preencher" teste: teste…
-
1
votes1
answer129
viewsQ: Change the content of a DIV from another site
Good afternoon, I’m having a hard time finding a way to get two Ivs to communicate and I need help knowing what I can is using to make this communication For example: An Object will send a site2…