Questions tagged as 'javascript'

0
answers

Partial with Javascript

If I create a Partial like this below "given as an example": <script> //Codigos C# Meus documentos.. //Codigos Javascript... </script> ... and within this partial contain c # code, this partial along with c # a...
asked by 08.05.2018 / 20:01
0
answers

Add Sound to Meteor

How do I play sound using Meteor using the public folder?     
asked by 09.05.2018 / 10:52
1
answer

Property 'catch' does not exist on type 'ObservableHttpEventany' ANGULAR 6

I created an interceptor to catch all the errors using angle 6, but catch returns this message. intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>{ return next.handle(req) .catch((err...
asked by 11.06.2018 / 15:13
1
answer

Variable handling in HTML

Hello ... The world HTLM / JAVASSCRIPT / PHP is totally new to me. As a beginner, I count on your help to develop a small project. Come on ... I have an INDEX.HTML page that receives a value via URL. I was able to read this value using a func...
asked by 10.06.2018 / 01:14
2
answers

Request via GET

I'm trying to create a search system using a Request to get the search result. I am not able to bring the product data for the searched title. Whatever the searched word, it always brings me the last item in the product table. Search or...
asked by 10.06.2018 / 23:43
1
answer

Interaction in browser behavior when leaving the page

Is there any way to open a modal question, when the person tries to exit a game in the browser, type, changing the address in the URL or giving refresh, or even harder, wanting to close the browser? I have this code, but it does not solve all...
asked by 11.06.2018 / 14:24
2
answers

Filtering element codes

Talk, guys .. Blz? I have a question here. I'm developing a chat app in vue, and let's say I send or receive a message like this: msg = "Oi, fulano. Acesse esse <a href="link">link</a> e digite <span>Meu nome é <a href...
asked by 10.06.2018 / 20:00
0
answers

Send synchronization request with ajax

I am using Ajax to send data via POST, the "problem" is that I do not want it to be sent asynchronously in the background, I would like to send with the same behavior as a form submit, I added the option: async:false but nothing has chang...
asked by 05.05.2018 / 21:13
1
answer

Implement a specific size for a div

I'm wanting my table to be the same size as the div containing my iframe. It is possible? If so, what am I doing wrong? obs: I am putting in the post the parts of my code that affect the div that contains the iframe and my javascript implemen...
asked by 05.05.2018 / 18:49
1
answer

Adding an event to a JAVASCRIPT table

I'm trying to add a click event to all the elements I add to the table. I do this at the same time I create the lines and cells. Note: the code works but the "src" that should be changed according to the button I clicked on is not set. fun...
asked by 06.05.2018 / 18:16