Questions tagged as 'javascript'

1
answer

Returning HTML Fragment with Ajax

Is it possible to return only one code fragment of a page with AJAX JQuery ? What I want to do is: I have a page where, through POST , I send the ID with AJAX , and it generates the body of a modal <div class...
asked by 02.06.2015 / 23:39
3
answers

Is it possible to use Controllers hierarchically in Angular JS?

Controllers are declared in the DOM via the ng-controller attribute. My question is: Is it possible and robust / secure to define controllers hierarchically in the DOM in child tags? Example: <div ng-controller="CtrlAbrangente"> &...
asked by 08.07.2014 / 20:05
1
answer

Form Multiple Steps Wizard

I'm implementing a step-by-step form ( Wizard ) and I'm using the project's CSS acornejo I basically use Bootstrap's Model so that the user can not sign in to their account without first completing certain steps. CSS tuning: .nav-wizard...
asked by 16.07.2014 / 18:06
4
answers

Receive an array in the controller from javascript

I'm creating an array with a list of data in javascript: var myArray = gvSortingListagemGARs.keys; Where I have the result: [278, 279, 280, 281, 282] That are id's of elements of a Devexpress table. Now I'm trying to pas...
asked by 31.07.2014 / 13:09
1
answer

Selenium + ChromeDriver

I'm developing a tool to login to a site, but I have a problem. When I do the manual procedure (opening browser, accessing site, entering user / password and logging in), the next one is loaded without opening another tab or another page, but...
asked by 27.08.2014 / 22:00
1
answer

How to detect that the swf was loaded

I wonder if it is possible to detect when swf is loaded: Follow the code below: <object id="teste" name="teste" type="application/x-shockwave-flash" data="120x600.swf" width="550" height="400" onload="alert('carregado')"> <para...
asked by 01.09.2014 / 17:58
1
answer

Does not return value pro javascript

I'm having a problem that the value coming from my controller does not come back to javascript. I'll explain what happens: I send requests via ajax to my controller and it is waiting for the return of values, while there is no return value...
asked by 22.08.2014 / 17:20
1
answer

Pulling content from a WordPress feed using JavaScript

I found a interesting script that can help me a lot in the organization content. The script below is used to pull content from a website through the blog feed. In this case, it's meant for use with Google's Blogspot feeds. The script cre...
asked by 26.08.2014 / 00:21
1
answer

How to print a View in default printer using JavaScript or C #?

I need to print the contents of a view on the default printer. How can I do this using C # or javascript?     
asked by 18.03.2015 / 12:28
1
answer

'Load more' button duplicates or does not work AJAX / JSON

Personal oops, all right? Next, I have a table that is fed with content from an external file in JSON (created from PHP with data coming from the DB). When you open the site, the table comes with only 2 records and clicking 'Load more' plus 2...
asked by 14.03.2015 / 16:26