Questions tagged as 'javascript'

0
answers

Custom mask directive in Angular 5

I'm trying to use the RobinHerbots / Inputmask library as a custom Angular 5 directive. However, when using the mask, the field not valid because it can not get the value typed. When I take the mask directive, the field takes the value normall...
asked by 16.10.2018 / 18:35
1
answer

Get value from the Angle Datepicker

I wanted to get the value of data picker in my component.ts of Angular. Follow my code data picker : <div class="form-group col-md-6 form-md-line-input" style="margin-top:-95px;"> <mat-form-field> &l...
asked by 16.10.2018 / 19:20
0
answers

Error when using navigate (React Native)

I have my seuginte main: <View style={AppStyle.container}> <View style={AppStyle.topBar}> <HeaderBar/> </View> <AppStackNavigator/> <View style={AppStyle.botBar}> <BottomBar/...
asked by 16.10.2018 / 15:39
1
answer

Run Ajax first

The last line of the code below is the first one to be executed, and I need the function containing this ajax to return true or false, but when I put it to return within success, error or complete it does not work. > error: function (response)...
asked by 09.10.2018 / 15:20
2
answers

how to clean an attribute in html by javascript [duplicate]

I have a problem in my code where it takes a value from the database related to the value of the combobox selected by the user and fills in another combobox, until it is working, however when the user of an onchange again it adds the values in...
asked by 09.10.2018 / 15:24
0
answers

Using google api javascript places

Hello, I'm trying to use google api <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=Minha_Chave&libraries=places"></script> I put my key here. And it gives the following error: Google...
asked by 09.10.2018 / 15:07
1
answer

Graph bars in red when value below stipulated average

Use this script to generate average chart of questions, such as how to make bars change color (red for example) when media is less than 8 (for example) <script type="text/javascript"> //carregando modulo visualization google.load(...
asked by 09.10.2018 / 06:37
1
answer

Set, fetch and check a Cookie after a video (YouTube API) finish - JavaScript

I need the browser to understand when a user viewed a YouTube video (YouTube API) to the end and records that, but all client-side. But even though I already have the function that recognizes the end of the video, I can not use and fire other fu...
asked by 05.10.2018 / 20:13
1
answer

Radio button flag

Good afternoon, I have a mobile application written in MobileUI and JS, where I have an alert for the company exchange function. In this alert you have the radio inputs, which is to select only one of the options. I would like that when opening...
asked by 05.10.2018 / 18:57
0
answers

Function window.onbeforeunload

I have this function in my form But I do not have a button submit , but I have a button that sends the data, and when I click on it, it appears this message of the function below, how can I put an exception? Or something l...
asked by 05.10.2018 / 20:56