Questions tagged as 'javascript'

1
answer

Destroy javascript tag

I have an Asp.Net MVC project structured as follows: Home On the Home page there are several links for other Actions and Controllers , and they return a PartialView that mounts all contents to modal . Home...
asked by 03.09.2015 / 17:00
2
answers

Make button disappear

I have a code that when you click the disable button, asks the reason that you are turning off the photo. When you confirm this reason, it should disappear the button on the side. I have a code with javascript to do the whole part of asking the...
asked by 02.09.2015 / 13:10
1
answer

Receive javascript data to query in mysql

I was trying to return the post_id variable to php in order to do SELECT in mysql, but I'm not able to work with post_id. How to make the query? <script type="text/html" id="javo-map-tab-infobx-content"> <div class="bt...
asked by 04.09.2015 / 01:15
1
answer

Clear 2 fields of type select when filling in a certain input field

I need to clear the filled values of 2 fields of type select when filling a field of type input . When I fill in the field input with name postcode I want the values of fields of type select with name coun...
asked by 07.07.2016 / 16:20
1
answer

search product / property with autocomplete and populate content dynamically with php and mysql

I'm developing a quick search field with autocomplete of jquery ui, php and mysql. The autocomplete works perfectly though, I'd like to do it another way. When the user starts typing in the field the display window is filled with real estate rel...
asked by 26.08.2015 / 19:24
1
answer

Function js does not run in chrome, due to window.event

I read something about srcElement and saw that when I do window.event.srcElement, this approach works only in IE. Well, I do not have enough money to discuss this. What happens is that a function I have here does not work in chrome. Below the fu...
asked by 26.08.2015 / 19:14
1
answer

Display popup asking for authentication when clicking on screen component that is not allowed to change

How to create a mechanism for when the user clicks to try to change a date that is as datepicker and display a popup for authentication or something like that to make this change? If he has permission, he can, otherwise he can not. &...
asked by 27.08.2015 / 16:22
1
answer

Doubt on how to calculate time difference with special conditions

I'm trying to figure out the time difference between two dates using Moment.js , but I need to look at some special conditions:    Case 1 : If you enter a day in a month, it counts as "a full month." Per   example: from day 31/09/...
asked by 27.08.2015 / 22:39
2
answers

Set value for combo with Ajax

I use the script below to feed some text fields with Oracle database values. But there arose a situation where I need to feed a combo of two values (ACTIVE and INACTIVE). In Ajax below, it returns the values of the bank but not arrow in index.ph...
asked by 11.09.2015 / 15:42
1
answer

Putting static HTML element as an extension for Chrome [closed]

I'd like to make an extension for Google Chrome that would enable a horizontal bar that was always at the disposal at the top of the user window. The placement would be something like this: Thequestionis:howtoachievethisbehavior?Ithoughtabou...
asked by 11.09.2015 / 22:33