help with javascript? Answered

Hello, i just want to know how to change a variable's value permanently in a java script file using an input field. like i created a variable: Now the script displays you have 20 cars then i want to change that number-of-cars variable while staying on the page it means i want to modify the file and change the number of cars in that variable through an input box! Please help me with this!

Asked by ubdussamad 3 years ago


how to read and write text files in the hard disk using just javascript?

I am creating a webpage for my school so i need to save some data about the students. I am not sving it in a server because it's working on my computer so please send some script which I can use to abhishekdtvm@yahoo.in!

Asked by Abhishek.D 7 years ago


How to install Javascript?

How to install Javascript, can someone help me? Thanks!

Posted by eliseta 4 years ago


Editor not working

I'm not able to open the editor. I get an error in the javascript console: Uncaught TypeError: Cannot read property 'Go' of undefined     at loadEditor (EEZ9RA7IPCYCPKA:1260)     at EEZ9RA7IPCYCPKA:1285 loadEditor @ EEZ9RA7IPCYCPKA:1260 (anonymous) @ EEZ9RA7IPCYCPKA:1285 Resources: https://www.instructables.com/static/drag_editor/deploy/editorcss.html5.min.56.css https://www.instructables.com/static/drag_editor/deploy/SCRIPT_MANIFEST.102.js https://www.instructables.com/static/drag_editor/deploy/editor.html5uploader.min.133.js all return 404 and I assume are required for the editor. Thanks

Posted by ncross1 1 year ago


Javascript auto currency convertor

Just a quick idea that I think would greatly improve the functionality of instructables. We've a lot of different users from many countries. I find it interesting while reading 'ibles what they cost to make and it is a question that's asked a lot in the comments. As a UK resident I post my answers/questions in GBP which I can imagine must annoy the hell out of US users. Would it be difficult to allow users to check a box in their profile to enable auto currency conversion? With the box ticked, all values in comments and instructables would be checked for the £ and $ signs. The code would then look at the value after the sybol and then check it against a reputable currency converter (google?) and then parse the value as a link. Hovering over this link would produce a tooltip (like the pale yellow boxes you see when you hover over the programs listed in the task bar in windows.... go on, I know you don't know what I mean but will just check.... oh yes.... those) that shows the converted value. Taking this one step further, people's profiles could allow them to specify the currency they want all monetary values to be shown in and the tool tips would show these accordingly. Does this make sense? I hope I've explained it well enough. Does anyone else see this as a potentially valuable feature? Possibly open to pros?

Posted by Jayefuu 8 years ago



Practical uses for Python and JavaScript?

I was just wondering about the sort of things you can do with these two.  I know you can use at least JS when building webpages, but I don't really enjoy that sort of thing when I code.  Are there other uses for these?  Also, is it true that robots can be programmed with Python?  Thank you very much for an answer.

Asked by StarscreamClone 4 years ago


Javascript not working

It seems the majority of java script pages on Instructables for me do not work. When I go to Submit > New Instructable > Yes I've read the tips the page doesn't go to the editor... When I go to "You" and then try view my unpublished Instructables, the webpage stays on the currently published ones only... Is this just me? Well I hope not, and I hope it gets fixed! ~K

Posted by Kryptonite 8 years ago


Where to find good training exercises for programming ? Answered

Has anyone any pointers to good basic ideas for beginning programmers to play with ? Jonnybo111 is teaching himself Javascript and Pascal.  I need to find some basic stuff he can do as exercises. Steve

Asked by steveastrouk 6 years ago


Cross Browser "Set as Homepage" html/javascript code ?

I am having trouble with adding a "set as homepage" button to my website, the code i tried dosent want to work in any of the good browsers firefox, opera, chrome, but it does work in internet explorer. Thanks in advance for any help! Heres the code I have been trying: this.setHomePage('http://www.mr.search.net.tc');">Set as Homepage

Asked by littlechef37 8 years ago


Check this doubles.

I think somthing wen't wrong today. I opened my instructables as everyday and, Whoa, a double featured 'ible, that was unexpected. Is it a bug or a so good 'ible that needs double posting?

Posted by Misac-kun 5 years ago


Javascript bugs in FF and IE

I'm experiencing multiple bugs in Instructables, most JavaScript related. FF 11.0, have these same problems with FF10.2?. Instructables on safe list @ NoScript 1. Images look ok in instructables, switching between them in steps do not work at all. I click on the second image. It should replace the first one in the same container, nothing happens. 2. Can not vote. The stars are simply not there anymore. 3. There are 4 fingers white gap above, and 3 fingers white gap below the instructable title / photo-step row FF Javascript error console shows no errors. Things like Favoring/Unfavoring, commenting works fine. IE 8.0.6 1. Same problem as previous #1, yet clicking on the second image opens the image thumbnail directly in a new window. 2. IE displays "Errors on page" with this text: "Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322) Timestamp: Wed, 14 Mar 2012 13:18:56 UTC Message: 'f[...]' is null or not an object Line: 25 Char: 358 Code: 0 URI: https://www.instructables.com/static/js/gw-11.6.4/lib/gw.min.js I bet some script near the bottom of scripts is killing the rest of scripts, this is why some scripts work and some don't. Can provide more info if needed.

Posted by skiedra 6 years ago


how can i make a javascript cookie array?

Hello, i am currently programming a shopping cart for my website, which can at the moment go one of two ways 1. everytime an item is added tot he cart, it adds the following variables " " image page url / Name " quantity  Price  + /N " to a variable which is written to the body of the shopping cart  page using document.write, like this example "image" lighter (as url) , 2 , $12 --newline-- this means however users cannot edit shopping cart items once added to cart, nor can they change quantity 2. everything is placed in a cookie array, and is printed like this var cookies +1 set array new item [ cookies] ; name ; quantity ; value and thats that, however i do not know how to make such a long array , or how to make a string printed like that which's values can be read like that, made into a cookie. please help!

Asked by oldmanbeefjerky 6 years ago


Intermittent bug: Using [Back] to get to you/?show=COMMENTS reidrects to you/settings

For the past several weeks I've been having a weird and intermittent bug with my COMMENTS page.I have bookmarked the now requisite ...you/?show=COMMENTS URL so that I can get to my inbound comments directly. I usually put this up in a separate tab and use [Back] and [Reload] to navigate to individual comments then back to my list. Every once in a while (few days) instead of returning to my comments list, I get .../you/settings displayed instead! I didn't ask for my settings, I don't want my settings, and I can't get out of them! Reload doesn't do anything to change this. The only "solution" is for me to open a new tab, open the .../you/?show=COMMENTS URL again, and delete the weird tab so it doesn't confuse me.It seems like either in the page's JavaScript, or maybe on the server side, there's a redirection glitch of some kind. Sorry I can't provide more details, and with this low-rate incidence, it might not even be findable.

Posted by kelseymh 9 years ago


Free Code: JSLoad!

UPDATE: JSLoad is now hosted on Google Code. You can find the most recent source, revision history, documentation, and can report bugs, there. What is JSLoad? JSLoad is a Javascript file loader that we wrote for Instructables. You give it a set of dependencies and groupings, and it loads the files you need, when your executing code needs them. We're releasing it under the LGPL because we're cool like that, and because we'd like to use any enhancements that other folks come up with. You can download the code at the bottom of this blog post, or check out the test file to see it in action. Why use JSLoad? Generally, we use dependency managers to avoid having to think about all the couplings that exist within our code. A widget we've made may need a whole mess of stuff -- all spread out between different files -- to run. Dependency managers allow us to say, "Give me everything I need for this widget to run," instead of having to figure it out for ourselves, each time, for each widget. Other, well-written javascript package managers exist (e.g. jspkg, YUI Loader, etc.) So why did we write a new one, and what reasons might you have for using it? In a nutshell, JSLoad is small, flexible, and is designed to work on its own, without the need for any heavyweight framework. How does JSLoad work? JSLoad does the basics: you tell it that file 1 depends on file 2, so it loads file 1 first, then file 2. Throw any number of other dependencies into the mix, and JSload figures out the dependency chain and loads the files in the right order. The real usefulness of JSLoad comes with its ability to group dependencies using tags. Tags are arbitrary labels that you can apply to (i.e. make dependent on) any group of files or other tags. Tags can be applied to single files or multiple files. Multiple tags can be applied to a single file. You can even think of your tags as depending upon a portion of a file (say, class within a file containing several classes.) As a result, you can mimic most other dependency structures: Chains, trees, or more complicated graphs. You can tag things that often appear together, that share a certain aspect; whatever your usage calls for. At Instructables, for example, we generally have a base set of widgets and features whose dependencies are primarily tree-like. Those little bits are then collected into larger groupings like "editable" or "commentable"; abstract labels that approximate the kinds of interfaces that are common on our site. Tags are also very useful while refactoring code. Often, because of the flexibility of Javascript, you won't be sure of the best way to split your code across files. Which portions will be used together most often, and should thus be grouped together to reduce HTTP requests? With JSLoad, you can tag the variant groupings, then organize your code as you wish. Your web pages will just call JSLoad the tags as they need them. Over time, you may find that one tag is used much more often than the others. Using JSLoad, you can refactor your code into a more efficient file structure, without changing any of the script calls in the pages that use the code. How is JSLoad used? Here is an example of how to instantiate a new instance of JSLoad: var jsLoader = new JSLoad(tags); JSLoad instances are intended to be singletons. JSLoad was designed to track state (which files have already been loaded, for example) in one central location. The "tags" variable passed to the JSLoad instance is a list of tag dependencies. Here is an example: var tags = [ { name : "baselib" }, { name : "widget", requires : ["baselib"] } ]; As you can see, "tags" is an array of objects, each defining a tag and its dependencies. In the above example, the "widget" tag depends on "baselib." An implicit part of the tags definition is that, by default (and for conciseness), tags refer to files. So, in the above example, the "baselib" refers to "baselib.js" and "widget" refers to "widget.js". If a tag doesn't actually refer to a file, but is an arbitrary grouping of your own design, you can set the "tagOnly" property of the tag to "true": var tags = [ { name : "baselib" }, { name : "widget", requires : ["baselib"] }, { name : "gadget", requires : ["baselib"] }, { name : "dostuff", requires : ["widget", "gadget"], tagOnly: true } ]; In this case, I've created a tagOnly tag called "dostuff." There isn't any actual file named "dostuff.js." Rather, the tag just indicates that it needs both "widget" and "gadget" (and, by implication, "baselib") to be loaded. All three will thus be loaded in the correct order if I ask for "dostuff." How do I ask for "dostuff"? Well, somewhere on my page, I might want to do stuff, and thus inline the following Javascript code: jsLoader.load(["dostuff"], function () { var widgie = new Widget(); var gadgie = new Gadget(); }); This tells my JSLoad singleton to run the anonymous function that is the second argument, and to do so as soon as the "dostuff" tag has all of its dependencies taken care of. I can make my load() calls at any point on the page, requiring any combination of tags, and I can repeat them; JSLoad will take care of creating HTTP requests to get the necessary files only once, only when necessary, and in the right order. You can download the code at the bottom of this blog post, or check out the test file to see it in action. The archive at the bottom of this blog post includes the test file, too. Limitations JSLoad has some limitations, due to its implementation. First of all, JSLoad runs asynchronously, to speed up load time on a page and to allow for nested iframes to load script into the top level context. As a result, if you inline dependent script in your page, JSLoad will need to wrap that script to ensure that it isn't executed before the necessary files are loaded. See "How JSLoad is used" above for details. Second, the list of dependencies you provide to JSLoad needs to be ordered. That means that no file or tag may depend on a file or tag that appears after it. This allows JSLoad to run faster, as it can calculate the dependency tree in one pass, and protects it (and you) from circular dependencies. We may remove these limitations in future versions, or at least parameterize them so you can decide which side of a trade-off you'd like to take advantage of. In the meantime, enjoy! And, if you have any comments or questions, please use the comment section below.

Posted by nagutron 10 years ago


how do you load a Java script Variable from a webpage into a VB program?

I would like to have the Visual Basic progam to load the user logged into Habbo via the variable habboName and make the title in the title bar (HabboName - HabbOS.)           Code: document.habboLoggedIn = true; var habboName = "Habboname"; var habboId = 25724911; var facebookUser = false; var habboReqPath = ""; var habboStaticFilePath = "http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/15/web-gallery"; var habboImagerUrl = "/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "http://www.habbo.com/client"; window.name = "060fd7869028127ca5d9aa2f02167c8f4e70651d"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "060fd7869028127ca5d9aa2f02167c8f4e70651d"; }  

Asked by drmjj55 8 years ago


Calculating Pi using simple JavaScript

One day I was bored and wanted to calculate Pi for myself. After finding out the Leibniz formula for Pi. When it is solved for Pi one gets: Pi=4/1-4/3+4/5-4/7... And so on since it's an infinite series. Since one can see a pattern that can easily be defined I concluded that a simple program using a loop could be made. I decided on using JavaScript for its ease of use and use a for loop. The program I made at first was mainly: var Pi=0; var n=1; for (i=0;i { Pi=Pi+(4/n) n=n+2 Pi=Pi-(4/n) n=n+2 } Where the variable "Pi" is the value of Pi, "i" is the number of times the loop is repeated, and "n" is just a variable to help in the formula. This I however found could further simplified to: var Pi=0; var n=1; for (i=0;i { Pi=Pi+(4/n)-(4/(n+2)) n=n+4 } Of course the more times the loop is repeated, the more accurate your value of Pi gets, and while 1000 may seem like a large number, the value of Pi which it calculated is wrong after the 3rd decimal point. I've had it repeat over 100,000 times and it gets more accurate, however, remember that making the number of repeats can slow down and even crash your browser (I speak from experience). If you want some ready made scripting, then here's some scripting I've made which lets you easily control the amount of loop repeats. It is based as an HTML document: //Made by Masterdude var c=0; function Calculate() { var c=prompt("Enter number of cycles:","0"); if (c>0) { var Pi=0; var n=1; for (i=0;i { Pi=Pi+(4/n)-(4/(n+2)) n=n+4 } alert(Pi); } else { alert("Canceled or Error in input: Input must be positive."); } }

Posted by Masterdude 7 years ago


Javascript help?

After figuring out how to use arrays and turning them into strings, I now need to do floating point operations with the variable. To first I created an array:      var = array1 = [];      var = array1value = 0; then, I add tack in numbers and operations when the right button is pressed, satisfying the corresponding if statement. if ( condition_1 = true){     array1.push(1); } if ( condition_2 = true){     array1.push(2); } if ( condition_3 = true){     array1.push(3); } //(you get the idea) if ( condition_A = true){     array1.push("+"); } if ( condition_B = true){     array1.push("-"); } if ( condition_C = true){     array1.push("*"); } if ( condition_D = true){     array1.push("/"); } (did you notice I had to add quotes to the operators? otherwise I get errors.) Anyway, then I proceed to take the data inside the array, and 'compress'  it into one string of characters. if (array1.length === 1){     array1value = array1[0].toString(); } if (array1.length === 2){     array1value = array1[0].toString() +                            array1[1].toString(); } if (array1.length === 3){     array1value = array1[0].toString() +                            array1[1].toString() +                            array1[2].toString(); } etc. you can see the pattern (also can anyone tell me how to convert all this redundant code into a nice for loop? I couldn't figure it out, so I just did the above all the way up to array.length === 13) Then finally, I make this appear as text on a output, and I can see the final value after pressing buttons and stuff, say, 534+902/21. So I would expect that if I save this in a new variable, that it will perform the math operation: except the new variable just returns the same exact thing: 534+902/21 var newVariable = array1value So I tried adding and subtracting some numbers from array1value, and the output of the newVariable is an error. I believe this is because although as text, array1value appears as 534+902/21, in actuality, it is *really*   534 + "+" + 902 + "/" +21. or maybe as "534+902/21." How do I force javascript to convert this back to 534+902/21? Also, please don't tell me to google it, or find java tutorials, I have already searched for half the day and don't want to watch 2 hour long videos on programming. 

Asked by -max- 3 years ago


JavaScript errors on recently posted Questions -- cache server?

Three Questions posted this morning all come up with "the same" ERROR 500 from JavaScript, included at the end of this topic: Why does my multimeter read 18vdc on a 12vdc walwart? Why does my multimeter read 18Vdc on a 12Vdc wall wart? Only one armpit smells? Other Questions, posted both before and since those three, appear to be just fine. Was there a server glitch? Caught in the filters? Deleted by the authors? UPDATE:  More than just these three questions are affected, but there is no clear pattern.  Some Questions seem to be fine, others generate the error.  Perhaps one of the cache servers is hosed?   javax.servlet.ServletException: javax.servlet.jsp.JspException: ServletException in '/common/layout3col.jspx': java.lang.reflect.InvocationTargetException at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1120) at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:9) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277) at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113) at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527) at com.caucho.util.ThreadPool.run(ThreadPool.java:449) at java.lang.Thread.run(Thread.java:619) Caused by: javax.servlet.jsp.JspException: ServletException in '/common/layout3col.jspx': java.lang.reflect.InvocationTargetException at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:9) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277) at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113) at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527) at com.caucho.util.ThreadPool.run(ThreadPool.java:449) at java.lang.Thread.run(Thread.java:619) Caused by: javax.servlet.ServletException: javax.servlet.jsp.el.ELException: java.lang.reflect.InvocationTargetException at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1120) at _jsp._common._nav__jsp._jspService(_nav__jsp.java:237) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933) at _jsp._common._layout3col__jspx._jspService(file:/home/instruct/deploy/instructables/common/layout3col.jspx:193) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:870) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:9) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277) at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113) at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527) at com.caucho.util.ThreadPool.run(ThreadPool.java:449) at java.lang.Thread.run(Thread.java:619) Caused by: javax.servlet.jsp.el.ELException: java.lang.reflect.InvocationTargetException at com.caucho.el.StaticMethodExpr.evalMethod(StaticMethodExpr.java:142) at com.caucho.el.FunctionExpr.evalObject(FunctionExpr.java:71) at com.caucho.el.Expr.print(Expr.java:325) at _jsp._common._nav__jsp._jspService(common/nav.jsp:186) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933) at _jsp._common._layout3col__jspx._jspService(file:/home/instruct/deploy/instructables/common/layout3col.jspx:193) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:870) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:9) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277) at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113) at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527) at com.caucho.util.ThreadPool.run(ThreadPool.java:449) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.caucho.el.StaticMethodExpr.evalMethod(StaticMethodExpr.java:133) at com.caucho.el.FunctionExpr.evalObject(FunctionExpr.java:71) at com.caucho.el.Expr.print(Expr.java:325) at _jsp._common._nav__jsp._jspService(common/nav.jsp:186) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933) at _jsp._common._layout3col__jspx._jspService(file:/home/instruct/deploy/instructables/common/layout3col.jspx:193) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933) at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:870) at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143) at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149) at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760) at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457) at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:9) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277) at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113) at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527) at com.caucho.util.ThreadPool.run(ThreadPool.java:449) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at com.instructables.taglib.Functions.translateCategoryName(Functions.java:1008)

Posted by kelseymh 7 years ago


create a JavaScript war game

I am trying to make a JavaScript game like Genghis Khan except tiled and simple like Conways Game of Life  it sounds simple but I cant figure out how to start. any help would be much apriciated

Asked by FastLearner 6 years ago


Finally, Javascript & DOM more powerfull than what I thought ...

.Hi ...I needed to quickly code a tiny tool-application, but I did not want to spend days and nights learning the API of a new GUI (under linux), neither I wanted to fight with usual C/C++ bugs, memory leaks and crashes, neither I wanted to learn a new scripting language like Python or Perl ...I wanted to do simple and fast, and if possible using my current knowledges : my webbrowser would do the GUI, and PHP would be my programming language.At first sight, I did not consider Javascript as a serious (or main) option, because I've kept very bad memories from Internet Explorer that I mistakenly considered as "the reference" ... But Mozila based browsers are more compatible with W3C than IE !So, finally, to my great surprise, I've made my app-tool 100% client side .......................... I don't even need PHP.However, when I run it on IE, it does not work as expected .....And my question is : for the sake of compatibility, what's the best strategy ?1) "downgrading" the scripts to make them compatible with every targeted web-browsers ?2) writing several version of the scripts, one for each web-browser ?Dilemma ... Dilemma ...

Posted by chooseausername 10 years ago


Java Script Links

Ok, I need to know this, but I am sure it will help the members of the community also. Ok, the thing is, my life would be easier if I knew how to look at the coding or something to tell which answer is right on this thing. I was thinking I could somehow get the code and find which one is right by looking at it. Thank You.

Posted by King825 9 years ago


Is there a javascript command or some code or something that would enable me to see "invisible" code in the page source?

I was looking at the source page of some of my instructables and was not able to see the I had put into the source box. I need to be able to see it for a coding project of mine and without any outside resources (software, etc.). I wan't to be able to see that code in the source page of the site by using some javascript command or something like that. Any ideas or javascript knowledge?

Asked by searx 5 years ago


firefox keeps making the javascript stuff go back and forth. has this happened to anyone else, and how can I fix it?

My firefox browser keeps making javascript stuff flicker. I'm including a picture to elaborate.

Asked by codongolev 9 years ago


Javascript toggle element code

I am trying to add a bit of interactivity to my personal website and have seen several example pieces of code for toggling elements. I tried the code that everyone shows me, but I have two problems: @ It doesn't toggle. @ The element starts out shown. I've looked through every part of my code and can't find a single fault. I would really appreciate any help. Here is the code:    http-equiv="content-type">   function toggle(obj) { var el = document.getElementById(obj); if ( el.style.display != 'none' ) { el.style.diplay = 'none'; } else { el.style.display = '' } }     Test doc click Hello I read something about jQuery on the site - Do I have to download it?

Asked by dungeon runner 7 years ago


Javascript Tic Tac Toe?

Hey guys... heres my code: var gameOver = false; var numMoves = 0; var xTurn = true; var computerTurn = false; function squareClicked(square) { if(gameOver) { alert("The game is already over."); return; } var status = document.getElementById('status'); var value = square.value; if(value != 'X' && value != 'O') { if(xTurn) { numMoves++; square.value = 'X'; xTurn = false; computerTurn = true; status.innerHTML = 'O\'s turn'; makeComputerMove(); } else if(computerTurn == true) { status.innerHTML = 'X\'s turn'; xTurn = true; computerTurn = false; numMoves++; square.value = 'O'; } } else { alert('That square has already been played.'); } var winner = checkWin(); if(winner == true) { if(numMoves == 9) { status.innerHTML = 'Tie Game!'; } else { gameOver = true; } } } function makeComputerMove() { var a0 = document.getElementById("0_0"); var a1 = document.getElementById("0_1"); var a2 = document.getElementById("0_2"); var a0 = document.getElementById("1_0"); var a1 = document.getElementById("1_1"); var a2 = document.getElementById("1_2"); var a0 = document.getElementById("2_0"); var a1 = document.getElementById("2_1"); var a2 = document.getElementById("2_2"); var got = false; while(got == false) { var n = Math.floor(Math.random()*9) switch(n) { case 0: { if(a0.value == " ") { squareClicked("0_0"); got = true; } break; } case 1: { if(a1.value == " ") { squareClicked("0_1"); got = true; } break; } case 2: { if(a2.value == " ") { squareClicked("0_2"); got = true; } break; } case 3: { if(b0.value == " ") { squareClicked("1_0"); got = true; } break; } case 4: { if(b1.value == " ") { squareClicked("1_1"); got = true; } break; } case 5: { if(b2.value == " ") { squareClicked("1_2"); got = true; } break; } case 6: { if(c0.value == " ") { squareClicked("2_0"); got = true; } break; } case 7: { if(c1.value == " ") { squareClicked("2_1"); got = true; } break; } case 8: { if(c2.value == " ") { squareClicked("2_2"); got = true; } break; } } } computerTurn = false; } function newgame() { var status = document.getElementById('status'); xTurn = true; status.innerHTML = 'X\'s turn'; gameOver = false; computerTurn = false; for(var x = 0; x { for(var y = 0; y { document.getElementById(x + '_' + y).value = ' '; } } } function checkWin() { var status = document.getElementById('status'); var val0; var val1; var val2; // check columns for(var y = 0; y { val0 = document.getElementById('0_'+y).value; val1 = document.getElementById('1_'+y).value; val2 = document.getElementById('2_'+y).value; if(val0 == 'X' && val1 == 'X' && val2 == 'X') { status.innerHTML = "X WINS!"; return true; } else if(val0 == 'O' && val1 == 'O' && val2 == 'O') { status.innerHTML = "O WINS!"; return true; } } // check rows for(var x = 0; x { val0 = document.getElementById(x + '_0').value; val1 = document.getElementById(x + '_1').value; val2 = document.getElementById(x + '_2').value; if(val0 == 'X' && val1 == 'X' && val2 == 'X') { status.innerHTML = "X WINS!"; return true; } else if(val0 == 'O' && val1 == 'O' && val2 == 'O') { status.innerHTML = "O WINS!"; return true; } } // check top left to lower right diagonal val0 = document.getElementById('0_0').value; val1 = document.getElementById('1_1').value; val2 = document.getElementById('2_2').value; if(val0 == 'X' && val1 == 'X' && val2 == 'X') { status.innerHTML = "X WINS!"; return true; } else if(val0 == 'O' && val1 == 'O' && val2 == 'O') { status.innerHTML = "O WINS!"; return true; } // check lower left to top right diagonal val0 = document.getElementById('2_0').value; val1 = document.getElementById('1_1').value; val2 = document.getElementById('0_2').value; if(val0 == 'X' && val1 == 'X' && val2 == 'X') { status.innerHTML = "X WINS!"; return true; } else if(val0 == 'O' && val1 == 'O' && val2 == 'O') { status.innerHTML = "O WINS!"; return true; } // no winner yet return false; } X's turn Any ideas on how to make it work? I think it has to do with the makeComputerMove function... so... yeah. I need your ideas on how to fix this. :)

Asked by sci4me 6 years ago



How do I create one array or variable after another in a loop in javascript?

I am currently designing a calculator (https://www.khanacademy.org/cs/calculator/5724205359824896) and I need to create a new array every time an operator (+, - *, /, ^, etc) is pressed. I want the naming to be: var array1[]; var array2[]; var array3[]; var array4[]... etc; and more will be created as I add up the values inside. 

Asked by -max- 3 years ago


Create Pages from JavaScript?

I was wondering if it is possible to create a text document from some JS embedded in a page. I know this may not be the perfect place to ask, but I might get some response : -) Thanks :-)

Posted by zachninme 11 years ago


what is a good site to download javascript programming language Answered

I'm trying to find a site where I can download javascript but when ever I look it up only java comes up or a shady site that doesn't end up being a real download site I'm kind of new to programing and I don't know where to find it, Thanks. 

Asked by jOker58 2 years ago


How to operate home appliances through website with php and javascript ?

Please tell me the step by step procedure of how to turn a simple bulb on / off through website by using php / javascript .?

Asked by MuhammadK19 2 years ago


Changing a javascript variable through onclick on an anchor tag?

I have created this code but I cannot figure out why it is not working here is my code:    jQTouch βt   @import "jqtouch/jqtouch.css";   @import "themes/artspot/theme.css";   @import "extensions/jqt.listIndex/jqt.listIndex.css";                             Tweetstars             StarList                                               #        3 Ring Wing Ding        14 Carrot Rabbit        90 Day Wondering       A       B       C       D       E       F       G       H       I       J       K       L       M       mairiboo//when I enter there it does not show the tweets of MarkFAngelo.Instead it does not show the tweets of anybody       N       O       P       Q       R       S       T       U       V       W       X       Y       Z                                         $(function(){ $(".tweet").tweet({ username: usernamevalue, avatar_size: 50, count: 20, loading_text: "loading tweets..." }).bind("loaded",function(){$(this).find("a").attr("target","_blank");}); });  

Asked by arv_christos 6 years ago


Problem CSS or Javascript behavior

Hi Instructables team, im report a behavior problem in the website menu, see the Screenshot, im use Firefox 2.0.0.16 at Ubuntu Linux Machine. I hope this problem fixed easy and soon Saludos!!

Posted by llaven 9 years ago


javascript is not working on 000webhost free service?

I am creating a web app using jqtouch and the ical project. When I test my progress locally it works like a charm but when I upload my files the javascript file that starts i cal does not work and there is nothing shown up.Furthermore the jqtouch javascript files work perfectly.I use 000webhost free service. My site is webstore.web44.net my code: /* */ /* */ /* */ /* */ /* */ I am creating a web app using jqtouch and the ical project. When I test my progress locally it works like a charm but when I upload my files the javascript file that starts i cal does not work and there is nothing shown up.Furthermore the jqtouch javascript files work perfectly.I use 000webhost free service. My site is webstore.web44.net my code: @import "jqtouch/jqtouch.css"; @import "themes/artspot/theme.css"; @import "jqt.calendar.css"; @import "../../extensions/jqt.listIndex/jqt.listIndex.css"; var jQT = new $.jQTouch({}); $(function() { $('#any_id').getCalendar(); }); Calendar 210 mg/dl 100 mg/dl my file structure: ... extensions images jqtouch--->includes jqt.icalendar.js that is not working themes index.html jqtouch.css

Asked by arv_christos 7 years ago


I can't get my my javascript code to work! Answered

I have been trying for days to get just the simplest of javascript working on my webpage but no matter what I try nothing happens. I am trying to display a button and then make a pop-up message when the user clicks it. I cannot stress how much frustration I have gone through just trying to make it do anything. I am writing it in mozilla Kompozer and testing it in mozilla Firefox. Here is the full code: html> head> script type="text/javascript"> function click() { alert("You clicked!"); } script> meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> head> body> input name="click" value="Click me!" onclick="click()" type="button"> body> html> Please, if you can give me any help regarding this, I thank you greatly. I am near to beating my head against my CRT.

Asked by dungeon runner 8 years ago


jqtouch ical extension in use?

Can anyone show me an example of how to use a jqtouch extension called ical to make a calendar??

Asked by arv_christos 7 years ago


Biggest number ever? See for yourself! :P

Alright guys, I got bored, so I decided to make a stupid little thing that I origionally used to do with my calculator in math class. :) Actually, now I have to tell this crazy story.. :P Alright, so I used to do 1+1 a bazillion times in school to see how high i could get my calc to in 1 period of class. Then (since im a MAJOR geek) I got this AMAZING idea. I decided to hook the = button to a microcontroller with a reed relay from radio shack. So I went home, and did just that. I wish I had a picture of it. It was so cool. I let it go and go. :) Anyway, now to the stupid project I made in html/javascript. So, I made this just to "prove" that there is no "biggest number". Now, it doesnt actually find proof so it "could" be wring, but its not. :P Anyway, heres the link: http://bignumbers.co.cc/numbers.html Lol. Thats all I have 2 say. Look at the source code LOL! :P KFSDAGJK  its soooo funny. (to a geek) Anyway, thanks. Later guys! :) p.s., I am at 85,000 on mine.. :)

Posted by sci4me 6 years ago


Easiest way to display tweets from different users without rewriting the code for every one separately

I am creating a web app that uses the tweet jquery plugin to display tweets of a specified twitter user.I have a list with some twitter users that I want to display their tweets, however it will be very difficult to rewrite the whole code for each one of the twitter users. Is there any way that I could only change the username when clicking on a specified link? Here is my code: jQTouch βt @import "jqtouch/jqtouch.css";     @import "themes/artspot/theme.css"; @import "extensions/jqt.listIndex/jqt.listIndex.css";                                   Tweetstars                      StarList                                                                  # 3 Ring Wing Ding                         14 Carrot Rabbit 90 Day Wondering                     A B                     C D                     E F                     G H                     I J                     K L                     M mairiboo                     N O                     P Q                     R S                     T U                     V W                     X Y                     Z                                                                               $(function(){ $(".tweet").tweet({                         username: "mairiboo", avatar_size: 50,                         count: 20, loading_text: "loading tweets..."                       }).bind("loaded",function(){$(this).find("a").attr("target","_blank");}); });                                       

Asked by arv_christos 6 years ago


I cant open any tutorial in here. when i click on it it says"javascript error" and so on...?

I cant open any tutorial in here. when i click on it, it says"javascript error" and so on... can someone suggest what to do? and sorry for my bad english..P.S I have uploaded image with my screen ...

Asked by HeLLmiX 8 years ago


can you program on java ? Answered

I can't find javascript and I was wondering if there is a way to program on java because I have downloaded it about a thousand times

Asked by jOker58 2 years ago


Is there any other good web browser for my psp?

For Custom firmware m33 or OFW 1.5? one that works with most modern web pages(html.flash,javascript,php,asp...ext)

Asked by ReCreate 9 years ago


Is there any unblocked proxies sites that you know of ?

I'm just a student who wants no.. NEEDS a proxy site where you can go on social networking sites with javascript turned on  

Asked by disneyace 7 years ago


Batch files?

Hey people! Just so you know, im sorta new at this whole 'computer' tech thing. I was wondering how i could learn how to write batch, VBS, HTML, and JAVAScript. Please help, thanks

Posted by B.F.L.M 9 years ago


Why is Full-screen not allowed?

Hey, I am doing a Cool entry for the "Hands-on Learning" Contest. I use some javascript stuff with   However..  I can't seem to request Fullscreen...  Does the Site have a blocker for that? Or am I just being bad here?

Posted by Schoening 5 years ago


Submit video not working

The submit new video function is not working. When I paste in the embed code from youtube it doesn't save. If I publish it the video doesn't load. I've tried on four different browsers. Firebug says there's an error in this javascript:if(spot.currentImage == null){spot is undefined.

Posted by jordan314 9 years ago


Flickr interface not properly escaping special characters in photo descriptions

I've been putzing with the Flickr importer thing in the upload images page. I have a few images with descriptions that have standard doublequotes ("), and it appears they are not being properly escaped when pasted into the javascript for the page, and causing all sorts of havoc.

Posted by matthewbeckler 9 years ago


HTML HOST?

I have written a website using html , javascript , css , php and i want a service that allows me to host my code for free and create a website using it without making me use its own templates. Please I need help

Asked by arv_christos 7 years ago


Captcha not showing to enter but required. HTML id attribute

Operating System: Windows 7 Ultimate 64-bit SP2 Browser: Google Chrome 30.0.1599.101 m URL: https://www.instructables.com/id/Repair-mouse-with-double-click-problem/?ALLSTEPS Reproduce: Try to comment Possible Error: HTML div id attribute contains abnormal '#' character which could be a typo preventing JavaScript from performing action. I was trying to post a comment on a instructable, but it said I needed to enter the two words in the image. But all it shows is the comment field and then: "This helps us prevent spam". The html id of the div i believe suppose to contain the captcha is "#recaptchaContainernull" I believe that this should probably be "recaptchaContainernull". This html div tag having the wrong id would prevent the captcha from loading dynamically with JavaScript.

Posted by themaster5_07 4 years ago


BUG: Images and commenting are not Firefox 3 compatible

Firefox 3 will be officially released on June 17. It's time to fix your javascript to be compatible. I sent a message about this via the feedback form several weeks ago. It contained more details. I can assist you with the debugging if you need it.

Posted by RichardBronosky 9 years ago


Lightbox comments with pictures bug

I found a bug relating to lightbox, the javascript plugin that does the image popups for comments. When you click a picture in a comment, it expands out and the page behind goes semi-opaque as expected. The problem is that the yellow squares used in pictures are above the lightbox image. (see attached picture) Windows XP SP3, Firefox 3.5.7

Posted by Jayefuu 8 years ago