Questions tagged as 'javascript'

1
answer

Script Play and Pause in HTML5 video does not work

I found this script here on the site. it serves to give play and pause in Html 5 videos. But it seems to have an error, the click and pause effect only works if you have 1 video on the page, if you have 2 videos the effect only happens on the...
asked by 12.06.2015 / 03:31
1
answer

JS event error to force and rename download file

Hello, I have a Script to force download via remote URL that I got as an answer here on the site, however I think I must have done something wrong because the Download event is not starting and not renaming the file at the time of download....
asked by 03.09.2015 / 15:56
2
answers

How to use javascript without dialog boxes?

I want to ask for information to the user only without using those dialog boxes and yes leave it printed on the site, with the use of the input. Is it with the javascript that does this? I tried searching something on google and I did not find a...
asked by 01.09.2015 / 13:14
1
answer

Adding a click event on a Twitter Typeahead result

I have the following js code that prepares a search field using Twitter Typeahead : var users = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.whitespace('cname'), queryTokenizer: Bloodhound.tokenizers.whitespace, remo...
asked by 29.05.2015 / 02:25
2
answers

PHP Calculator Table

I do not know how to program in javascript so I would like some help from you, how to proceed in this case.   In this code I would like to know how to do a dynamic calculator,   per line, same as the example below. I just have to put the...
asked by 30.05.2015 / 22:34
1
answer

Problem in smoothing the scroll on anchor links

Jquery, but I used this script that I found to give the scroll smoothing effect to the "anchored" link: $(document).ready(function () { function filterPath(string) { return string .replace(/^\//, '') .replac...
asked by 26.06.2015 / 16:23
1
answer

Conflict on templates view of custom lists in Sharepoint

Problem I have two custom lists with ListTemplateType = 100 . When I insert the two on a page the last overwrites the first one, then it stops working, only the last one works. I tried to add BaseViewID with different ID's to...
asked by 01.06.2015 / 16:25
3
answers

Search for database information by selecting a field [closed]

How to select a field and pull the information about it? For example, I wanted to select a user and when I select it appears in the fields type Name, Address, cpf and etc all filled in, searching for this information from the database. I'm...
asked by 09.06.2015 / 13:36
1
answer

onclick in an iframe

Good afternoon! Well I'm trying to byclick to make the banner disappear when I click on it, but I'm not getting it! My code: <div id="mime"> <iframe style="border:none; overflow:hidden; width:605px; height:250px; float:left;...
asked by 07.06.2015 / 18:50
1
answer

How do I leave absolute scroll to the div?

I wanted to leave the absolute scroll to div , as they do in the post pages of #, in the left bar where it has the indications of other matters. Fucked in the source code of the guys, but I did not find any Javascript or plugin t...
asked by 30.07.2015 / 17:36