Questions tagged as 'javascript'

1
answer

Replace content according to the search without having to submit

Good people, I have the seginte code require_once 'Connection.simple.php'; $OK = true; $db->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING ); if (isset($_GET['name'])) { $data = $_GET['name']; $sql = 'SELECT * FROM channels...
asked by 29.04.2015 / 18:41
1
answer

Jquery history.go (-1); Chrome does not work

I've even done some research here on stackoverflow about creating a back button. The situation is that I click on a dynamic record to edit, then I have the option to cancel (which is to go back) in IEca and FF works, but in chrome we have proble...
asked by 29.04.2015 / 20:07
1
answer

Pass $ _POST via javascript and redirect

I have a page that takes the user's screen size via Javascript and the other page that receives the data for display. But I can not pass $_POST to another page, since it does not redirect. Width.php <script> var wi = screen....
asked by 17.06.2015 / 05:00
1
answer

Problem when requesting AJAX DELETE sending JSON

When I make a request DELETE in a url that does not support OPTIONS the browser returns me:    405 Method Not Allowed Is there any way I can prevent my browser from sending a OPTIONS pre-request before sending a DE...
asked by 18.06.2015 / 03:00
2
answers

Change hidden field in form

I have two hidden fields inside a form, they must store the values of a radio button and the selected checkboxes (150 checkboxes), I was able to make the first hidden field load the value of the selected radio button but I could not make the tha...
asked by 15.01.2015 / 16:40
1
answer

IF on POST response function does not work [closed]

I have a POST inside a javascript function and this post returns a function answering the problem and that the IF in the response function is not working <script> $(document).ready(function(){ $("#mlogin" ).click(function() {...
asked by 16.01.2015 / 04:41
1
answer

Call function from an event

I have a link that is generated via JavaScript. <a href="#" onclick="excluir()">Excluir</a> I have a function in my .js. function excluir(){alert("oi");} When I click on the link I get this error:    Uncaught ReferenceE...
asked by 14.06.2015 / 22:08
1
answer

Change Lightbox Cursor Position

I'm using a lightbox plugin to make the lightbox effect, and I need to make some visual changes, such as the visuals of the cursors and their placements. I changed the close from him to the top and changed the colors of the arrows, now I'...
asked by 08.09.2014 / 18:08
1
answer

Paging effects with javascript

Does anyone know how to answer me how to make paging effects on my HTML page? For example I have a table but this table can only display 10 records at a time, does anyone have any idea how to do this using angularjs or jquery?     
asked by 27.01.2015 / 23:44
1
answer

Center map with more than 1 (one) marker

I would like a little help if possible. I'm developing a website, and implementing Google Maps V3 Javascript functions, but I have not found any documentation on how to center the map containing 2 or more bookmarks. Do not center on 1 (one...
asked by 29.01.2015 / 04:11