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 7 years ago.
Improve this question
I'm trying to build a dashboard with AngularJS where I have a couple of different routing options. On some of those options (pages) I'm trying to use a TinyMCE editor.
I've written a directive for the textarea and tinymce and that works fine.
The problem I'm facing now is that whenever I switch options (pages), the TinyMCE instance seems to dissapear. So keep in mind that the TinyMCE appears normally when I load the routing option first, but when I start switching around to other options and back things start to break and all I see is a plain textfield with no controls or anything.
No error messages are happening or whatsoever so I don't really know what's going on.
I do check if the instance is already initialized before I even do that, I just don't know what's wrong :/
As the user YOU suggested I've started using ui-tinymce instead of cooking it up myself. Although it has some other issues at this point, the editor remains persistant which was the problem in the first place.
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 simple products scraping app, When I Start The Server On VsCode It Works Fine, But On Heroku It Only Scrapes The First Product And Blocks There, Please See The Photos, I'm Open To Any Suggestions.
image of it working on vsCode
image of it working on Heroku
Note: I had the same problem on vs code before (the same project) and solved it but it's not working on heroku. The problem was that an await never returns anything it just blocks the code so the server stays on that line forever.
I dont think the problem is in heroku, maybe you need to add catching errors in your application, and see what cases the trouble.
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
I shouldnt even be in HTML/CSS, but here I am trying to incorporate a php modal contact form into my site...
I'm trying to get all of a demo form's functionality into my footer page (and then I'll restyle everything.)
http://danux.me/sections/footer_modal.html
I'm trying to get "email me" to fire ideally, but am settling now for just the Demo button to fire the popup form.
I also uploaded the demo form I'm pulling code from, just to make sure it works on my site. (It does.)
http://danux.me/contact/
Any guesses as to what I'm doing wrong?
Your first link is in a different folder, yet the url for $.get points to the same relative file. Which isn't there.
So in contact.js needs to have
$.get("../contact/data/contact.php", function(data){
I obviously cant test this. And it looks like there is some redesign in folderstructure coming up.
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 7 years ago.
Improve this question
I'm going through the codecademy.com AngularJS course and have gotten stuck on the Bolt Network 2 project. I've narrowed the issue down to that for some reason when Angular run it does not insert html/js for the directive program-listing. I have dumped the code on github here: https://github.com/MichaelLeeHobbs/boltnetwork2
I have gone over ever line at least a 3-4 times and have compared it very closely to the App Market project. Whatever mistake I have made I cannot find it. :( On a side not what tools would you use to debug this? Chrome Dev Tools are not showing any errors :(
Thanks in advance!
change:
app.directive('program-listing', function() {
to:
app.directive('programListing', function() {
Angular changes the name internally. So you will name your directive cammel cased and use hyphens on the html
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 8 years ago.
Improve this question
I'm trying to change or remove errors from a HTML page I'm using firebug add in firefox and I have this part which I really don't where its writen :
is there a way to get the file where this is write .
thanks for any hint
Continuing from my comment: The highlighted element is dynamically added by a slider plugin e.g. like http://jqueryui.com/slider/ The clue is the classes like ui-slider-handler.
Look for the id="voltage" to find the place in the HTML where the div is and look for #voltage or ("voltage" or 'voltage') to see where the plugin is connect to it (in any jQuery or Javascript code).
I don't think you can get the exact path of the file, but check "View page source" option to see what files the page has been linked to.
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 8 years ago.
Improve this question
so I am working on this site (my rep isn't good enough to provide the home link) atm but I have a problem with product listing pages and the tips and tricks page, whereby what seems to be happening is a complete failing on the part of jMenu and jFlipBook respectively.
Since I did not write the original site nor have I used these plugins before I'm not sure why they're not working properly. You'll notice on the tips and tricks section if you inspect element and set the nav items to include the class jMenu (which jMenu should do automatically) the page becomes about 90% fixed (save for the submenus still being out of action). After digging around in the source for a while I've come to a dead end, so if anyone can shed any light on the matter it would be really helpful! Cheers in advance!
If you look at the javascript console you will see errors pointing to your document ready code blocks.
You are using:
$('document').ready(function(){
when it should be:
$(document).ready(function(){
I would imagine that this is breaking your code.