Questions tagged as 'javascript'

1
answer

Links to Tabs in Jquery

I have problems with next example . I want to add Links from another page, with href. When I clicked on these links, it would automatically open the TAB, is it possible? First page where I have links <a href="www.site.com/?page=about...
asked by 03.11.2014 / 19:20
1
answer

Callback of ajax using Spring MVC does not work

Well, I'm trying to make a simple AJAX call (which already works), but callback is not "triggered": $('#negotiation-status').on('click', '#button-add-destination', function (e){ var departure = $('#input-departure').val(); v...
asked by 03.11.2014 / 01:12
2
answers

jQuery .click () event, does not work with tag button (with Bootstrap 3)

I have a website with 2 files (index.php and modals.php). In index.php I use include("modals.php"); and in modals.php I have several modals that are generated dynamically, according to the information in DB. In modals.php I have 2 butt...
asked by 07.06.2014 / 20:33
1
answer

HTML / JavaScript Connection WebService C #

I'm trying to make a connection to the bank using web service. I came up with an example where I created the sum and multiply functions in my WebService, but I'm having difficulty connecting my (HTML / JavaScript) to my WebService (C #). I...
asked by 06.06.2014 / 21:34
2
answers

How to put url dynamically for facebook comment boxes, specific to each page

In a response in php we can do this: <div class="fb-comments" data-href="<?php echo $url; ?>" data-width="687" data-numposts="7" data-colorscheme="light"></div> <?php $url = (!empty($_SERVER['HTTPS'])) ? 'https://'.$_...
asked by 15.06.2014 / 22:39
1
answer

Internet Explorer blocks javascript [closed]

I've set up a website and would like it to work in all browsers. But in IE, on all versions, it does not work as intended. I noticed that it was blocking my javascript and jquery codes with a message about activeX.  Where I work, for example, we...
asked by 27.05.2014 / 04:18
1
answer

Effect images increase when the page loads

In this script the images increase but only as we scroll link The idea is that the page loads the images without having to do scrolling Images on my site are all in this code <img class='alignleft' src='URL DA IMAGEM' />     
asked by 31.05.2014 / 08:15
1
answer

Boolean Array in Grid

Hello, I'm making a kind of simcity and had the problem that when I draw I could draw the road over again. So I solved this by creating a Boolean Array when drawing that area of the grid gets true and can no longer draw on it. But the problem th...
asked by 05.08.2014 / 23:53
1
answer

jQuery method is not writing to BD

I have a routine to write to DB. I get in AJAX's success, shoot a alert , but it does not record. A button that calls the method passes the parameters to the method in the controller and this method writes, with a SaveChanges() ....
asked by 20.06.2014 / 14:03
1
answer

Problem to add item in tree with Extjs

How do I add an item using tree in extjs. But I wanted to add somewhere specific, eg: add an item inside a specific folder. Here's my code for if needed: Ext.require(['Ext.tree.plugin.TreeViewDragDrop']); var storeInt = Ext.create('Ext.data....
asked by 18.06.2014 / 18:38