0
Hello, I need help to continue a project, I believe that for people who already have an advanced knowledge is something very simple, but as I am layman is very complex.
I have an index page where the user will enter a PIN, I take this PIN with ajax and send to another page SAVE.PHP and on this page I make the query to the bank returning true or false, but it is returning me only the value false/'I found nothing', I have in mind that I typed something wrong or I stopped typing and the variable containing the PIN is going to the empty analysis, I put the IMG of the code in the topic.
Can anyone help me?? Thanks in advance, thanks, thanks.!
When placing code in the question, prefer text instead of image. Many users access the page with mobile phone and the image of the code makes it difficult to read. For desktop users changing tabs can be a nuisance. Also to answer the question makes it difficult, because instead of copying and pasting the existing code would have to write it again.
– Augusto Vasques
No, I know a lot of jquery, but it must be this false Return there... Follow the friend’s tip above and edit your question, putting the code, not images. Consider visiting the [help]
– MagicHat
On the line where
data : {texto : 'texto'},
shouldn’t bedata : {texto : $('#texto').val()},
– Augusto Vasques