Plugin for intellisense on a textarea?
Are there any jQuery plugins for doing intellisense in a textarea? (just javascript would work good as well) ...
Are there any jQuery plugins for doing intellisense in a textarea? (just javascript would work good as well) ...
I'm going to develop a comprehensive educational software which runs on the browser and has many visualization and simulation works (electrostatic and electromagnetic visualization, 2D and 3D). Which language(Processing, javascript or something else) is the best toward my purpose? ...
Hi All Hope this jquery based simple code will help to explain the issue. html: <script> $('#remover').click(function(){ $('#block').empty(); }) $('#test').click(function(){ alert(remove1); // still displays the varibale }) </script> <div id="block"> <script> var remove1 = 'asasdsds'; var remove2 = 'asas...
Hi guys, I'm implementing a click button for my animation plugin, but I found a problem. If I clicked the button too many times the elements get out of control.. I'll just show the code: options.prev.click(function() { $(this) .siblings() .filter('img') .slice(0, 1) .effect('drop', {direction: 'left'},...
Is there any way to retreive a list of events of a DOM in Javascript? e.g. I register FuncA, FuncB, FuncC for the onclick event using AddEvent or AddEventListener methods. How do I get the reference of all these functions for that onclick event? Ideally, I want to have a function like this: eventList = getEvents(obj, 'onclick'); a...
IE8 throws an "Error: Object required" message (error in the actual jquery library script, not my javascript file) when the switch statement in this function runs. This code works in IE6, IE7, FF3, and Safari... Any ideas? Does it have something to do with the '$(this)' selector in the switch? Thanks! function totshirts(){ $('.shir...
Hi, I'm getting "Object Expected JS error in IE 6 and 7. I'm not able to reproduce this always. The behavior is inconsistent. I'm using Dojo Charts in my JSP page. When this error occurs none of the Charts gets loaded. I had a similar problem with IE before. That was a JS function was called before the JS file was loaded completely. We...
over the last couple of years I've seen jquery grow leaps and bounds. And every time I look at some jquery code I feel there is something I am missing which I need to learn. I've given their documentation a try, and it seems to be ok for basic stuff. Can you guys suggest a good jquery book that might help? I'm looking for something ...
Hi guys, We stumbled on the usual friday afternoon bug... We have a .net 2.0 winform app that uses the WebBrowser control (deployed on xp tablet edition, with latest IE 7). At some point in a page, we are hidding a div and setting a textbox value using some javascript. At that point, the operation is working (text appears in the tex...
Hi, what is the correct syntax to create a new instance of the object as opposed to a pointer to the original? Here is my example: var oItem = { element: null, colIndex: 0 }; var oInputs = { Qty: oItem, Tare: oItem, Rate: oItem, Total: oItem }; for (var oTitle in oInputs) { oInputs[oTitle].element = ... when I set the value of oI...
I am getting an error stating that an object is expected in the below code. Declarations... this.regions = {}; this.regions = ["US", "Europe", "Asia"]; this.regionalRankingKey = ["SP500", "GBE", "CNG"]; //this is the ranking model key for pulling up the rankings object. this.rankingTypes = ["gainers", "losers", "actives"]; this.reg...
I've got a table of what I call resources, want to show in a jquery dialog a particular record when user clicks button in a row. in the table I'm doing: <td><%=button_to_function 'Show','showresource1()',:class =>"ui-button ui-state-default ui-corner-all", :id => resource.id %></td> then in javascript I want to pass jQuery dialog the...
I have a checkbox and radiobuttonlist defined as follows: <asp:CheckBox id="chkChange" runat="server" text="Enable" /> <br /> <asp:RadioButtonList id="rblConsole" runat="server" cssclass="console"> <asp:ListItem text="XBox 360" value="xbox" /> <asp:ListItem text="Playstation 3" value="playstation" /> </asp:RadioButtonList> The...
I'm wring a custom jQuery plugin based on the awesome jGrowl plugin. I just need it to do a few more things than it already does. Basically everything is working as I need it to (only tested in Firefox so far) except that if you call the plugin too many times too fast it stops and breaks everything http://jsbin.com/ofejo/edit Any idea...
Is anyone familiar with Native Code in OS X Safari (Version 3 and WebKit)? I'm using Javascript to parse some information in a form and one of my inputs is named "tags". When trying to get the value of that element using: // button is being passed through a function as a DOM object var tags = button.form.elements["tags"].value; Safari...
Hello, How i can detect the word in that the cursor located in IE? I have tryed with this code <script> window.setInterval(function () { var range = document.selection.createRange(); range.expand('word'); var wort = range.text.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); document.getElementById("ausgab...
Duplicate: Are there any Javascript static analysis tools? Which javascript minification library produces better results? Best javascript compressor How can I obfuscate JavaScript? What is the best javascript obfuscator? others (just search SO) They should perform the following functionalities: - checking for err...
I'm building a Javascript preview function for a blog back-end (much like the one used on this website), and I'd like to be able to parse some custom tags that normally get parsed by PHP. I am wondering if it's possible to use the JS XML parser to parse content from a textarea that would look like: <img=1> Use for <url=http://apwit.com...
I have a problem. I've been trying to tackle it for a while now and I'm ready to explode. Here's my requirement: I have an external toolbar (not part of YUI) above the editor that I want to use to insert HTML tags. The user should be able to click a link on the toolbar after which a few things may happen: If there's any selected text, ...
Hi, See the example below: it shows lines of text in a table (there's a good reason for this, but that's not the issue here). Basically, all I need is a function that alert()'s me the perfect coordinates of the text selection when I click on the link. By perfect coordinates, I mean: line number of the start of the selection, line numbe...