Questions tagged as 'javascript'

1
answer

Is it possible to use sub groups?

I have a form and it has three pairs of start / end dates. For each pair I validate if both dates are filled or none of them are filled, because it is not allowed to fill in the start date and not the end date and vice versa, in addition, I can...
asked by 30.01.2014 / 19:01
1
answer

How do I display / hide content on a page based on the site's "HTTP status"?

I have the following problem ... Scenario: A site with HTML-only page delivery (we can not use a server-side language). We do a YouTube embed video, but some companies, as we know, block their employees' access to social networks. It happe...
asked by 30.04.2014 / 19:59
4
answers

Problem assigning HTML with .text () and .html ()

I need to insert the HTML that refers to a hyperlinked image received through an ajax function on the page, however for security reasons I can not simply insert directly, so I'm passing this HTML code through .text () for a created div, and only...
asked by 31.05.2014 / 16:50
1
answer

How to change content on a page?

I'm trying to change some fields of a website, what I want is to open this site in my address, but with some of its content changed. I'm using file_get_contents to open the site, but I have two problems: When I click on a link with...
asked by 21.02.2015 / 23:47
0
answers

Development showing different types of calculations [closed]

I need help putting together a page, program, or application that does the following math basics topics and shows the calculations that the program did.    Object Transposition    Object rotation    Object Increase (independent width and h...
asked by 07.06.2016 / 18:54
2
answers

Retrieve error message via json no Angular

I'm trying to register using Angularjs, but I want to get the validations that are in my model in rails. But I'm having trouble: Covenat (model) Rails validates :name, presence: true Covenat Action Create controller def create @cove...
asked by 14.04.2015 / 18:20
2
answers

Use Jquery library with AngularAMD

I'm implementing AngularJS + RequireJs through AngularAMD. I want to add the Jquery library but it returns the following error when I use "$":    Error: $ is not defined I have main.js set up as follows: require.config({ baseUrl:...
asked by 21.04.2015 / 20:28
5
answers

How to remove input and textarea borders from all browsers when clicked?

Look at the image to get an idea: When clicked this border with blue shadow is visible. I think it's standard for all browsers. Any solution?     
asked by 11.02.2014 / 14:35
4
answers

I can not disable a checkbox with enable = false

In certain situations, I need to enable or disable a checkbox. I made a function in JavaScript and I can not enable / disable it. Here is the function: function ValidaCampoInserirAutorizacao(){ var vTussMed = document.getElementById('...
asked by 05.01.2017 / 19:44
7
answers

How to insert data in DB with jQuery / Javascript without using PHP?

I'm learning Javascript and jQuery and am wanting to make a small website to test the insertion of data into a database. I have no knowledge in PHP, I would like to know if it is possible to insert data into a database only with Javascript or jQ...
asked by 30.01.2014 / 00:24