Questions tagged as 'html'

1
answer

Jquery, exchange images when clicking

When I click on the image it changes the text, when it clicks on the bottom, it changes the text but I need it when I click on the image, which activates the jquery function, change the image. So, for example, I need to switch% from% to% with%...
asked by 31.10.2018 / 16:48
1
answer

Detect field type sent in POST PHP

Is there a way to identify the type of field that is coming in a post? If it's Text or Array? Example: I have listbox (select multiple) and text fields in html, and in it the user can select values or not, I have a function where I chec...
asked by 02.10.2018 / 17:10
1
answer

Map one model Id in another without a DropDownList

I had a problem making relationships in my application. My project is from a school, and in it I have to have the occurrences. But at the time of relating the Student to the Occurrence it happened to me that, in the view create of the occurrence...
asked by 14.05.2014 / 03:15
1
answer

html dropdown menu buttons

I have a menu with drop down and by moving the mouse to the second hypothesis it disappears. <nav> <ul class="menu"> <li><a href="#">Home</a> <ul> <li&...
asked by 14.05.2014 / 15:32
1
answer

Place description in hover image [duplicate]

I'd like to this hover effect from that site's image, but I'm not getting it. $('.img').on('mouseover', function(e) { $(this).css({ 'opacity': '0.5' }); $('.hiddenDiv').css({ 'display': 'block' }); }); $('.img')...
asked by 19.11.2018 / 17:49
1
answer

input password in css does not work

I use the same CSS code for both the "text" input and the password, however for one it works and for the other it does not: (see photo) CSS Code #contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact...
asked by 19.11.2018 / 19:05
1
answer

How to get a searchable value in a string in PHP?

I have a string that contains html code: $pagina = "<!DOCTYPE html> <html lang='pt-BR'> <title>Pagina</title> <meta charset='UTF-8'> <div class='conteudo'> <div class='valor'> 1000 </di...
asked by 03.12.2018 / 03:19
1
answer

How to pass more than one url to ajax consume json?

I need to create div's with data from two urls with json via ajax, and the data will be returned on the same page, however I need to pass two urls as a parameter, how can I do this? var url_aparecida = 'https://upvagasweb.000webhostapp.com/ger...
asked by 27.11.2018 / 19:43
2
answers

I can not read this JSON

This is a .json file that I created just to understand { "campo": [ {"nome":"Lucas vidotti"} ] } I know that to read this value with jquery I need to do $.getJSON and manipulate by key, but I can not...
asked by 27.11.2018 / 21:02
1
answer

Ajax doubts in updates

Good morning! I would like to know how Ajax technology works, if it is possible I make a code in php and call it through an ajax, type an query, would I put the answer file on one page and the php on another with ajax? How does it work, could yo...
asked by 11.09.2018 / 14:39