Questions tagged as 'javascript'

1
answer

Get Content from another page with jquery

I want to create a way to open this SpTrans page in an app, but without loading all their layout, just the fields: LOGIN, PASSWORD and SIGN UP, using only HTML and JQUERY. The elements I need are these: <input type="text" id="vUSRLOGA" n...
asked by 16.07.2015 / 17:22
1
answer

How to take images only vertically?

My question is this: Do I have to take only the images that are vertical and change them? I have several images on the site, many of them are horizontal and some vertical. I want to get only the verticals and change their size. This is my cod...
asked by 16.07.2015 / 16:39
1
answer

Take time to access a page and write to DB

I need to take the time that the user was on a particular page, and the user to leave the page, this time be registered in the database. Would anyone have any idea how to do it? [Edited] The time I was able to catch using javascript. Th...
asked by 16.07.2015 / 15:51
1
answer

Export table contents to an Excel file

I would like to know if it is possible to create a function in PHP and / or Javascript that allows exporting the contents of an HTML table (table inside a div) directly into an Excel file. I'm trying to take advantage of a function created fr...
asked by 17.07.2015 / 16:17
1
answer

append with jquery

I have a table that opens in a popup to search for material from a material requisition register, on the page (other than the pop up) has another table that when I add a material that was selected in pop up it copies the information from the sel...
asked by 11.06.2015 / 22:30
2
answers

C # WebMethod - Send and Receive the same object (custom) via Parameter

My code: Object: public class Person { private string _Nome; private DateTime _Nascimento; public string Nome { get { return _Nome; } } public DateTime Nascimento { get { return _Nascimento; } } public Person(string N...
asked by 11.06.2015 / 16:56
1
answer

Element with onClick and onDblClick

I have a list and in this list I am trying to distinguish a click from a double click I initially used HTML : <a class = "alinhar1" href="#" ondblclick="list.oneDblClick();" onClick="list.oneClick();"> But whenever I double c...
asked by 04.06.2015 / 12:53
1
answer

How to know when Collapsible expands or closes?

I have a collapsible , and when it is expanded I want to add elements in it, and when it is collapsed I want to delete the elements. I am currently using the following form: <div id="expansorTurma" data-role="collapsible"> <h4 i...
asked by 05.06.2015 / 00:29
1
answer

I can not call the javascript function by a button

Good morning, I have a problem on my page. I created a Form with a comment field. When clicking the button it "should" call the function but does not call. function gravaobs(pag_pedido, obs_boleto, stats) {...
asked by 05.06.2015 / 16:05
1
answer

How to call controller action?

I have the following code: function confirmaExclusao() { var decisao = confirm("Deseja excluir permanentemente esse item?"); if(decisao == true) { //Chamar a action para excluir } else { //Aqui não vai f...
asked by 04.06.2015 / 18:52