Questions tagged as 'javascript'

2
answers

Is it possible, in CSS or JavaScript, to leave a transparent image color?

For example, we have this boat: <div> <img src="https://cdn2.vectorstock.com/i/thumb-large/94/56/lifeboat-vector-3669456.jpg" > </div> In this case, I want the transparent white color (#FFFFFF), but it could...
asked by 26.06.2018 / 08:34
4
answers

Send more than one parameter in GET request

I use the following code to send a parameter in a Ajax request of type GET . $('#cidades').load('cidades.php?estado=' + $('#estados').val()); How do I pass also a parameter called recurso ?     
asked by 09.12.2015 / 16:00
2
answers

Create a record in which the user increments a new checkbox to save new information in MySQL

I need to create a customer registry, where certain part of the user's registration has several checkboxes that would use to store if the client has such documents, for example: [] RG [X] CPF [] Certidão de nascimento and a button so you c...
asked by 02.02.2016 / 04:23
3
answers

Catch the last occurrence in a javascript string

I have a string containing the following: xx_xxxxx_0001_ABCDE_TESTE_INTRODUCAO_VIDEO How would I always get the last word after the underline "_"? The expected result would be: VIDEO     
asked by 13.07.2018 / 14:26
4
answers

Remove spaces in the input fields

Colleagues. I have a form that I would like the user to copy a particular word and paste in the input field, remove the spaces between the phrase or word copied automatically. Would you have any means in CSS or Javascript?     
asked by 06.01.2017 / 14:37
2
answers

How to make a "back to top" button on a page? [duplicate]

How can I make a button return to the top on an html page? Jquery, javascript, what would be best?     
asked by 28.10.2016 / 15:45
0
answers

Sharing application content made in Intel XDK on Facebook [closed]

Hello I created an application in HTML5 + JQuery Mobile on Intel XDK, which will be for android (and maybe app for FB). In it, based on data, has a kind of score (it is not a game) and wanted to put an option to share this score on Facebook....
asked by 27.06.2014 / 21:02
1
answer

Web Sql - Make select from ID

I'm trying to make a select from a ID that will be caught in the value of a option , I searched the net and saw that they put this inside a function, but when I put the function, the variable that should store the valu...
asked by 18.06.2014 / 03:17
4
answers

Share Link with Facebook Image

I would like to know how I paste a link into a Facebook post and it shows an image. For example: if I paste the Twitter link into a post, it puts a picture, followed by the title and page description of the URL (in this case, Twitter). How do I...
asked by 03.01.2017 / 18:13
2
answers

Transferring values from one page to another with angularjs [duplicate]

Good afternoon, I wanted to know if I would be able to pass the data from one page to another ... I did a small function that when I press the button it changes the name, only that it appears on one page in the other it does not receive change...
asked by 20.12.2016 / 22:17