Yahoo maps api, version 3.8 doesn't display custom image?
I used the following code to display custom marker on Yahoo Maps : <Script type=text/javascript> var map=new YMap(document.getElementById('map')); // Create a map object Get_Lat_Lon() ...
I used the following code to display custom marker on Yahoo Maps : <Script type=text/javascript> var map=new YMap(document.getElementById('map')); // Create a map object Get_Lat_Lon() ...
Hello the Community. Working on big, high loaded project I got the problem that already described in billion of topics on forums and blog, but there is no solution that will help in my case. Here is the story. I have the HTML code of banner, I don't know what is the code. Sometimes it's plain HTML, but sometimes it's <script> tag with ...
I have a web application that uses Ext-JS 2.2. In a certain component, we have an empty toolbar that we are trying to add a button to using myPanel.getTopToolbar().insertButton(0, [...array of buttons...]); However, in IE6/7 this fails because of lines 20241-20242 in ext-all-debug.js: var td = document.createElement("td"); this.tr.i...
I have a three-step process that is entirely reliant upon JavaScript and Ajax to load data and animate the process from one step to the next. To further complicate matters, the transition (forward and backward) between steps is animated :-(. As user's progress through the process anchor's appear showing the current step and previous step...
I'm trying to convert a character code to a character with chr(), but VBScript isn't giving me the value I expect. According to VBScript, character code 199 is: � However, when using something like Javascript's String.fromCharCode, 199 is: Ç The second result is what I need to get out of VBScript's chr() function. Any idea what t...
I have a problem when assigning functions to the click event of a button in IE 7 with jQuery. Something like the following works fine in Opera but produces an infinite loop in IE: function updateIndputFields(index, id) { $("#reloadBtn").click(function(){ updateIndputFields(index, id) }); } As I understand it, an infinite loop would...
I need to update a pair of old classic asp pages a search.asp page that provides a simple form which is then posted to a results.asp page. One of the form options on the search page is a drop down list (<select) for the "format". If the user chooses the excel format the results page just sets the Response.ContentType to application/vnd...
I've been using this function but I'd like to know what's the most efficient and accurate way to get it. function daysInMonth(iMonth, iYear) { return 32 - new Date(iYear, iMonth, 32).getDate(); } ...
Given the iPhone's 25k limit for caching of files, I'm wondering if there's interest in an iPhone optimized javascript library that makes caching a top level goal. Since it'd be iPhone only it could get rid of most cross-browser cruft and rely on safari specific capabilities, hopefully cutting down some of the girth and staying with 25k....
Writing a ton of web applications leveraging JSON/AJAX, I find myself returning tons literal javascript objects (JSON). For example, I may be request all the Cats from GetCats.asp. It would return: [ { 'id': 0, 'name': 'Persian' }, { 'id': 1, 'name': 'Calico' }, { 'id': 2, 'name': 'Tabby' } ] Now, these are all Cat objects wi...
I have two forms on a page (one is being grabbed by AJAX). I need them both to be posted, so I serialize the second one and send it in a post using jQuery before submitting the first one. However, only the first form appears to be getting posted. The odd thing is though, if I put an alert after the serialized post it works as expected...
Duplicate of: http://stackoverflow.com/questions/203113/use-javascript-to-inject-script-references-as-needed Javascript doesn't have any directive to "include" or "import" another js file. This means that if script1.js uses functions/objects defined in script2.js, then every html page that includes script1.js must include script2.js bef...
How do I hide the prev/today/next navigation in jQuery DatePicker? I'm happy with just the Month and Year drop down boxes. Also how do I disable the animations? @tvanfosson - I already tried 'hideIfNoPrevNext' but that only works if you don't have a date range that spans two months. The duration option did the trick at turning off the...
I've never actually used greasemonkey, but I was considering using it. Considering that GreaseMonkey allows you to let random people on the Internet change the behavior of your favorite websites, how safe can it be? Can they steal my passwords? Look at my private data? Do things I didn't want to do? How safe is Greasemonkey? Thanks ...
Hello, I am using JQuery extensively in my latest project. I have put my javascript content in a separate .js file, and am referencing that file in my HTML page. I get jquery intellisense support in visual studio, but I don't know how to refer the jquery file in my new javascript file so that I can get jquery intellisense there to. I am...
I am trying to write a JavaScript script to add to greasemonkey that adds a button after an element. The onClick for this button should copy the parents element text to the keyboard. I have seen plenty of examples that copy already selected text to the clipboard such as this: <SCRIPT LANGUAGE="JavaScript"> <!-- Begin functio...
Just wondering if there is anything built-in to Javascript that can take a Form and return the query parameters, eg: "var1=value&var2=value2&arr[]=foo&arr[]=bar..." I've been wondering this for years. ...
It exists too many method for embedding flash in html, which way is the best? Requirements are: Cross-browser support Support for alternative content (if flash is not supported by the browser) Possibility to require a specific version of the flash player I have been reading about SWFobject, anyone used/tested? ...
Hi, I need to use javascript in a form for mobile web application. Please need some information about it, related to browser compatibility as well as way to use javascript in mobile web applications (syntax). Thanks & Regards, Khushi ...
I want to change the behavior of a JavaScript used to display a banner, coming from a central source. Today I include a script-tag inline in code, like this: <script type="text/javascript" src="http://banner.com/b?id=1234"></script> But what that returns is code which uses document.write, like this: if(condition) { docu...