Questions tagged as 'javascript'

2
answers

Get logged in ckeck box id

I need to get the id of the% marked_with%. I'm setting up the check dynamically as follows: <li class="item item-checkbox widget uib_w_69" data-uib="ionic/checkbox" data- ver="0"> <label class="checkbox"> <input id=...
asked by 07.10.2015 / 21:05
1
answer

Comparing a variable with 1 is the same as comparing with true?

I have the following code: $(function() { var logado = _userdata["session_logged_in"]; if (logado == 1) { $('#rankPersonalizado').after('Você está logado.'); } }); Here: if (logado == 1) { 1 means that it...
asked by 10.10.2015 / 16:48
1
answer

Find content according to two Combobox

On the home page of my site I need to have two combobox for the user to select options coming from the database (for example: select the state in the first combobox and when selecting the state in the second combobox are loaded the cities of thi...
asked by 20.01.2016 / 17:01
1
answer

Save state after linking html elements

I created a question here in SOpt where my question was how to bind HTML elements in a drag and drop. The answer there is excellent and completely resolved my doubt. But now there's one more thing ... How can I save the state of these li...
asked by 24.01.2016 / 01:31
2
answers

Overwriting a page with ajax

The question is simple. I use Ajax Javascript so it can load contents, however how can I for example, load another html2 page and make the page that loaded html2 go away? Question, does ajax have the ability to load content in real-time while...
asked by 19.04.2016 / 12:24
1
answer

how to create a timer in php with start and end button? [closed]

Preferably in php, but can be in javascript too and please pass the time values to a variable in php, as it will have an input to register the time leading to another page in php to register in the database. Thank you in advance.     
asked by 19.04.2016 / 13:57
1
answer

Change maximum value of HTML progress bar with JS

Well suppose I have a progress bar in html and I have a script that clicks on a certain object the value of progress increases by +1, as I would for when that value reached 10 the maximum value of the bar increased to 100? <progress id="pg"...
asked by 27.08.2015 / 21:38
1
answer

How to load a CSS file dynamically in jQuery?

I'm developing a mobile application on HTML , JavaScript and CSS using phonegap . I need to adjust / fit the same page layout for both portrait mode and landscape mode. My question is as follows when I ide...
asked by 02.11.2015 / 15:58
2
answers

How to get data entered in a form not yet recorded?

Hello, In an application using MVC , how do I get the data entered by the user on a form, and before writing to the database, I return a view with the data entered for the user and only after that conference, does it give the option t...
asked by 06.11.2015 / 13:13
2
answers

I can not capture the post via webapi c #

Good morning. I am already trying a few days trying to capture a POST made in JavaScript by webapi c # and the most I can get is webapi telling me that the expected parameter is NULL. var objFornecedor = { ID_FORNECEDOR: 38,...
asked by 03.11.2015 / 12:35