Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am working in core PHP with the Tinymce editor code.
The Tinymce is working correctly on my localhost. When I upload to a live server it is not working.
The Tinymce editor layout is not displayed on the add new and edit page.
This is my site: http://tinymce.studioscue.in/
Here is the list of jQuery CDN you can add it as follows.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
Maybe your code missed jQuery file, just try adding this, and try again with your code
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
i'm trying to make a dynamic dependent dropdown selection , so i got this error in the console when i try to ckeck if the function work or not !
I'am using laravel , ajax , jquery in this project
Also , when i delete the script of the dynamic dropdown box , the error stay
Hope that you can help me
thank you
Usually this has to do with location of your
<script src="something"></script>
make sure you don't have same cdn and make your your link goes before script
something like
<link></link>
<script></script>
All the link should go before script sentence
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I don't know how to get "onclick" effect. I mean how to open new site by click menu. Below i attached example. Please tell what can i do.
https://bslthemes.com/ryan/demo/index-new-no-photo.htm
With addEventListener you have an univerdal method to respond on the click event. Instead of <div> you may use <button> or any other element, that's up to you.
<div id="whatever">Click me</div>
<script>
document.querySelector("#whatever").addEventListener("click", function() {
window.location.replace("https://stackoverflow.com/");
});
</script>
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I have done with loading a blade view into another using ajax. But, Javascript written in main file is not working for the loaded file. How can I overcome this issue?
bladeView
<span class="selectable " id="" name="">
Rate Here
</span>
JS in bladeMain
$('.selectable').click(function () {
alert('working');
});
Finally found the solution by using following Jquery function
$(document).on('click', '.selectable', function () {
alert('hi');
});
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
hello guys after mixing laravel template i have some problem with the jquery with Error: Bootstrap's JavaScript requires jQuery
and after searcing im still confused whats happen can you help me
here is my code :
<script src="{{{ URL::asset('js/ace-extra.min.js')}}}"></script>
<script src="{{{ URL::asset('js/bootstrap.min.js')}}}"></script>
<script src="{{{ URL::asset('js/ace-elements.min.js')}}}"></script>
<script src="{{{ URL::asset('js/ace.min.js')}}}"></script>
`
and error on firefox :
here
Bootstrap JS works with some jQuery elements.
You need to import jQuery before importing Bootstrap JS.
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<!-- Then import bootstrap js -->
You have not included jQuery into your HTML. Download that, and include it before bootstrap.
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 years ago.
Improve this question
Salutations! fellow developers, I am kind of stuck in a pickle here. I managed to create a HTML5 animated banner for my blog. After the exported content I received these two files:
i) banner.html --> I can change the name of this to whatever I want and functions perfectly.
ii) sprite.js --> When I change the files name, location and content. The "banner.html" automatically stops to functioning/working.
Is there a possible way that I can just have the "banner.html" file to function properly with my content without the "sprite.js".
-If yes, please share your solution.
-If no, please explain alternative working solution that you deem necessary.
Thanks to anyone who had answered.
-LEO
You can include scripts directly into HTML documents with the SCRIPT tag:
Substitute
<script src="sprite.js"></script>
(which has to be somewhere inside the HEAD tag of your document) with
<script>
<!--
//contents of sprite.js go here
//-->
</script>
Open your banner.html in a text editor.
There should be a line line
<script src="sprite.js"></script>
Replace it with
<script>SOURCE_OF_SPRITE.JS</script>
Of course "SOURCE_OF_SPRITE.JS" should be the actual source.