Questions tagged as 'javascript'

1
answer

Rotate an image in Mobile with Javascript

I am trying to make an image (particularly a roulette), rotate via css / javascript, for an application made in Jquery mobile and packaged in phonegap. With the code that I have, in PC, it turns perfectly, but when installing it in the cell phon...
asked by 06.03.2017 / 22:51
2
answers

Error trying to enter a date in a "date" column in the database

I have a column type date and I try to insert a date but it throws me the following error: Invalid parameter value: 7 ERROR: the time zone «gmt-0400» is not recognized (SQL: insert into "lots" ("number", "id_products", "date", "id_turn...
asked by 07.03.2017 / 18:48
2
answers

Generate in textbox a date calculated adding field DAYS and CURRENT DATE

I have a system of fines in which the days of fines must be placed and the date on which this fine starts and finishes, it happens that when the days are placed in a separate field it may happen that the number of days does not match the start a...
asked by 23.02.2017 / 13:34
1
answer

disable zoom in chrome under w7

I have an application developed in cakephp, which runs in chrome in kiosk mode, it's like a product catalog. We changed the screen of touchscreen because it had wear and problems, and although the new one is by infrared, much better, I lost or I...
asked by 23.02.2017 / 13:31
2
answers

How to show bootstrap popover only when the cell has a value

I have a boostrap table in which in a cell of each row I could load the value of an array converted to base 64, I would say because sometimes the property that maps that value could come in null: <table id="tableOcMateriales" class="tab...
asked by 21.02.2017 / 23:19
1
answer

How to apply the same action to two different elements by jquery? [.Click]

I would like to apply a reset action to the fields of my form and I would like it when canceling the "x" span to return the border originate if it closes or cancels it with errors. Currently I only work with the "x" closing, if you do the reset...
asked by 21.02.2017 / 22:25
1
answer

Print the 'value' of a checkbox 'not true or false' in javascript

I have two checkbox of html connected to a function JavaScript , one says it has a front camera and the other one does not. It works very well, but instead of printing yes it has or not it does not have , it prints true...
asked by 22.02.2017 / 19:33
2
answers

Make one of the two be required

Good, I would like to know how I could do for javascript if an email field is not filled in, please put it on the phone, and vice versa Tel&#233;fono:<br> <input id="inputTelf" name="telf" type="number" min="111111111" max="9999...
asked by 21.02.2017 / 09:55
1
answer

How to disable minutes and make the arrow up / down buttons do 15 minute jumps? eonasdan datetimepicker bootstrap

The plugin that I use this here . What I want to do is disable the minutes that I will not use. What I will use are: 00, 15, 30 y 45 . Or at least the arrow up / down buttons perform 15mins breaks. $('#crear_fecha')....
asked by 21.02.2017 / 20:26
2
answers

Count selected elements of a select box with javascript

Greetings, I have a select box (id_encuentros) and I need to know how many elements have been selected to restrict it, that is, if you have selected more than one option, then I would show you an alert message. Does anyone know how to do it i...
asked by 20.02.2017 / 17:17