Questions tagged as 'javascript'

3
answers

How to check for javascript if a new li tag entered through setInterval?

Is it possible to ask through javascript if there is anything new in a list ul - li ? I'm working with a refresh of serInterval , but it's not very dynamic, why? When the box receives a new message the Scroll Height...
asked by 31.07.2015 / 15:32
1
answer

Search without SUBMIT

I have the following code and I do not know how to make it search without needing to give submit, can someone help me? HTML <html> <head> <title>Data Searching Without Page Refresh</title> </head> <bod...
asked by 01.05.2015 / 18:49
1
answer

Why does not my regEx work as expected?

I really have difficulty setting up regular expressions, mainly for varying their behavior in each language. I'm translating a Java code into JS, in which the regular expression is /(\d{1,4}|\*)\s*[xX]\s*(\d{1,4}|\*)/ , so I understand it...
asked by 30.04.2015 / 13:46
1
answer

Put HTML5 to read an RSS?

I do not understand much of these businesses, I searched before posting here but did not find anything, I do not know if I'm looking for certain. I'm creating an app in html5, css3 and javascript. I want to add some rss to the app but I do not k...
asked by 25.05.2015 / 01:42
1
answer

Drag div into another

I wanted to do a volume controller, I already did css, php, html, but js and jquery are missing to finish. I wanted the ball to drag inside the .controlar CSS: .bola { width: 10px; height: 10px; } .controlar { width: 100px; height: 10px; }...
asked by 23.07.2015 / 23:43
1
answer

How to assign JavaScript value in Razor?

I have a Razor @minhaVarRazor variable and would like to change its value based on a value obtained from another variable, but that is JavaScript . function setValue(minhaVarJavaScript){ @minhaVarRazor = minhaVarJavaScript; } D...
asked by 22.07.2015 / 22:29
1
answer

How to save an image generated by php gd?

I'm trying to use jcrop + php gd to make image cuts and save in another directory but I do not know what the problem with my code is: <?php if ($_SERVER['REQUEST_METHOD'] == 'POST') { $targ_w = $targ_h = 150; $jpeg_quality = 90;...
asked by 21.07.2015 / 17:40
1
answer

Questions about JavaScript and HTML

* HTML code * <div id="apresentar"> <img src="img2/fechar.png" class="fechar-foto"> <div id="foto-grande" ><img src="" width="100%" height="100%"><p></p></div> </div> <header&...
asked by 14.05.2015 / 19:44
2
answers

Changing Form Field Type with onclick

Exemplo <a herf="#" oncllik="">Mudar Campo</a> <input type"text" name="nome"> // Ativo <-----------| | Enverter <select name"nome">...
asked by 17.05.2015 / 13:51
1
answer

How to stop in a function through the console?

I would like to stoke a fadeIn () during its execution so that the screen stays exactly as it was the moment I stopped. The ideal would be something generic, that works for fadeIn, slideUp, slideDown, setTimeout etc. Is it possible to do t...
asked by 15.05.2015 / 14:55