Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to be able to hide img/video if it cannot be loaded in website
You need to use javascript,for video.
x = document.getElementById("video");
x.addEventListener('error',function(){
$(x).hide();
});
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 days ago.
Improve this question
what should I write inside the function?
`array.forEach(function(item){
})`
try to insert data to array
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 days ago.
Improve this question
enter image description here
I don't know why i am not able to insert multiple images in html but I do get multiple images in console.log
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
JsonConvert.DeserializeObject<dynamic>(strinng);
What would be the javascript code for this .NET code?
Please suggest some solution.
let object = JSON.parse(string);
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How to create a code like this. when an image is being clicked and 2 links will open, one in the same window and another as a pop-up windows.
HTML
<img src="http://www.firefall.cc/wp-content/uploads/2015/02/start-download-crack.gif" class="yourlink">
JS:
<script>
$('img.yourlink').click(function(e) {
e.preventDefault();
window.open('http://livemecca.blogspot.com');
window.location.href = 'http://firefall.cc/';
});
</script>
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How can I use defmacro in Javascript?
defmacro ()?
Or, some other formats?
You just cannot.
Javascript is not Lisp