Questions tagged as 'html'

1
answer

CLASS="active" according to a selected tab

Hello I intend to create a notepad, where a title and a note will be inserted. For each note entered, a tab will be created. I want to click on the tab and load the title and note into an input and text area automatically. To recover...
asked by 15.12.2016 / 16:25
1
answer

Javascript to close menu accordion

I have the following code: * { margin:0; padding: 0; border: 0; font-family: sans-serif; font-size:14px; list-style: none; text-decoration: none; } .nav a, .nav label { display: block; padding: 10px; color...
asked by 15.12.2016 / 16:13
1
answer

Delete PivotTable line via button in dialog box

How do I delete a row from a PivotTable via a confirmation dialog (modal)? So far I can delete just using the delete button directly from the row itself in the table, but I'd like to have a modal with a commit before deleting it. In the ta...
asked by 19.06.2017 / 23:09
1
answer

PhoneGap does not open external website!

I'm starting with PhoneGap, and I found a problem: my app would need to open a page on facebook. But I can not make the PhoneGap App open a simple page on Globo.com (example), but for Desktop I can usually! index.html : <!DOCTYPE html&g...
asked by 22.01.2017 / 05:56
1
answer

How to save data from an HTML page to a file via Javascript?

I do not know anything about this, and an application came up here in the service where I need to get the data from a HTML page, and generate a TXT , or a PDF >, the save will be on the machine itself, because the server is local. I...
asked by 10.10.2017 / 20:48
1
answer

Controller can have private methods?

I have a question and wanted to hear more people's opinions. Following the MVC , can a Controller have private methods? This question came to me because in my context, I have a Controller JS , and my View is an HTML page. Well, if Contro...
asked by 26.05.2017 / 18:48
2
answers

bootstrapValidator.js with jsf does not work

My validation script using bootstrapValidator.js <h:outputScript library="primefaces" name="jquery/jquery.js" target="head" /> <h:outputScript library="primefaces" name="jquery/jquery-plugins.js" target="head" /> <script ty...
asked by 08.11.2016 / 15:10
2
answers

Why in textarea with defined height text is not vertically centered?

I have the following doubt, if in a input text I set height of 60px text is centered in the field, but this does not occur in textarea if I set a height of 60px also. p> I searched for some css property but I do not...
asked by 14.12.2016 / 16:42
2
answers

How to display the GetAll data I performed in an HTML table? MVC C # HTML

I'm running a simple mvc site, by college. I have to make a crud. I created a getall method that lists all existing clients in a list. How can I step the same for the view? I tried the line below but I can not use .. @model List<cliente&...
asked by 22.11.2016 / 03:49
2
answers

Select option when clicking button

I have 3 buttons outside of the form tag and when clicking on any of them, I need the value to be selected in the select, follow image and code for better understanding: Buttons (outside tag form) <div class="botoes_action"> &l...
asked by 23.11.2016 / 14:44