Questions tagged as 'jquery'

1
answer

How to get a file in PHP passed by $ .ajax?

I have a problem I do not know if it is when sending in $ .ajax or catching with PHP. It is not getting the $_FILES normal on the other side, it arrives as 'caminhofoto' => string 'C:\fakepath.jpg' (length=17) , gave var_du...
asked by 20.12.2018 / 15:12
1
answer

Error while mounting HTML table with jQuery

I need to create this screen: TheproblemisthatthecodeIhavegeneratedgenerates9columnsinarowinsteadofgenerating3columnsperline: Thisisthecode:@{ViewBag.Title="Home Page"; } <div class="col-md-12"> <table id="tblQuadro" class="tab...
asked by 28.12.2018 / 14:41
1
answer

How to create MASK with pure JS in React

I'm developing an HTML, CSS and jQuery site in React, but I've seen that using jQuery is out of phase in React since it's possible to create some components faster and easier, my question is how to make a jQuery-made mask for Javascript pure, or...
asked by 18.05.2018 / 15:48
2
answers

I want every time I click on the 'Armchair' function it changes color

function Selecionar(){ var selecionado = document.getElementById("poltronas"); selecionado.style.background = "yellow"; var selecionado = document.getElementById("poltronas"); selecionado.style.background = "green"; } <a href...
asked by 14.05.2018 / 04:02
1
answer

Recognizing images within a larger image

I would like to do a part of my application, in which the user would upload a full image of drawings inside, it would then select an area of the image and I would search across the image uppada, initial points on which that selected image repeats...
asked by 11.07.2014 / 18:46
2
answers

How to customize send file button?

I have a submit file button: <input id="file" name="file" type="file" /> It looks like this: Iwanttoremovethis"No file selected" description and customize the button text. Can anyone help me?     
asked by 12.06.2015 / 16:14
2
answers

Get values from within a function that is inside another function

I'm developing a small Javascript application that makes use of Web SQL. I want to create a function that returns the value of a variable from the VARIABLES table, as well as its observation. It would be something like this: valor = pegaVariav...
asked by 06.07.2014 / 17:39
2
answers

Block rotation of a site in the mobile version

I have a website that would like to lock your position on the screen when accessed from a mobile device, preventing it from roaming or rotating along with the mobile. Is there any JavaScript code that does this? Block screen rotation as if...
asked by 22.05.2014 / 21:19
1
answer

Submit form to a php script and open a modal once it is submitted

I have a form that already does the validation of the fields, but I wanted that when I clicked the send button it sent the data to the file recebe.php and already opened a modal that I created. Here is the code for my form: <form...
asked by 23.07.2016 / 17:49
2
answers

Update HTML Table with PHP

I have a page that is giving select in php in a Firebird database and returning the result in table form. My interest is to update the prices of a table to quote price, how do I click on the cell and update the price and send it to the bank o...
asked by 27.07.2016 / 21:12