I've been working on this for a few days, and have made some (though very little) progress in getting my scripts to work in IE.
FF & Chrome are flawless. Both IE7&8 completely shut-down when running my script.
The only error I get is when I first load-up the page, and i get a warning that their is an error in the main jquery.min.js pa...
I try to automatically parse/submit web page using MSHTML (in C#.Net 3.1 WPF WebBrowser control). I can fill the forms, click buttons, naviagate pages without problems.
But do not know how to automatically click "ok" button on javascript confirmation dialog which appear when I click "Submit" button.
C# code:
mshtml.IHTMLDocument2 doc =...
I'm trying to write a plugin that will add a few methods to a jQuery wrapper object. Basically, I want to initialize it like this:
var smart = $('img:first').smartImage();
The 'smartImage' plugin would attach 2 methods to the object referenced by 'smart', so I'll be able to do something like:
smart.saveState();
// do work
smart.load...
I have a form on my page and am dynamically adding controls to the form with Javascript/JQuery. At some point I need to get all the values in the form on the client side as a collection or a query string. I don't want to submit the form because I want to pass the form values along with other information that I have on the client to a b...
OK, I'm new to JSON so please forgive me if my question is a little ignorant - I've beat my head against the wall too much and need some expert advice.
I'm trying to get a simple example working where an HTML page uses jQuery's JSON/AJAX functions to make a call to an example PHP page which passes back a simple JSON data structure and t...
Basically, I'm not looking to become an expert in JavaScript. I just want to know enough to utilize existing libraries well. I'm looking for:
Books on JavaScript
Tutorials online
Anything else :)
Regards,
Sam
...
I'm working on an interactive interface using SVG and Javascript/jQuery, and I'm trying to decide between Raphael and jQuery SVG. I'd like to know (1) what the trade-offs are between the two, and (2) where the development momentum seems to be.
I don't need the VML/IE support in Raphael, or the plotting abilities of jQuery SVG. I'm prima...
I'm trying to create a messagebox that is fixed to the bottom of a webpage, so when a user scrolls, it stays put (simple css).
However, I'd like the messagebox to disappear when the user scrolls to a certain point in the webpage.
For example, if you have a signup form on the bottom of your site, I'd like to create a messagebox that rea...
Hey there
I'm having trouble with some JS in IE7. I'm testing to see if a certain object has a className (its possibly an HTMLElement object from the DOM) assigned.
Now, testing the page in Firefox tells me that Yes, the variable is undefined (all my tests below do the Alert().
In IE, none of the tests pass, the variable gets assigne...
In one of my Web Development classes we where asked to create a script that detects NE4,NE6+,IE4,IE6+ Browsers that display a compatable CSS script for each browser.
he gave us an article to read about these and the article mentioned this site
one of the students said this
The best choice for javascript
compatibility is to test...
My company is starting a large scale web application, and I'd like to hire a designer to help with some of the pages (to create our general template, look/feel, and control set). Where is the best place to find a designer with some knowledge of usability? Would we be best looking on elance.com (or similar sites), or is there a better a...
I have come to find that using jquery to create html client-side can be a huge performance booster if done properly. I use ajax returning json to retrieve dynamic content and then I build the relevant html and insert it using jquery. The first time I messed with this technique I found that the string concatenator in IE's javascript per...
http://blog.urbantastic.com/post/81336210/tech-tuesday-the-fiddly-bits
Heath from Urbantastic writes about his HTML generation system:
All the HTML in Urbantastic is completely static. All dynamic data is sent via AJAX in JSON format and then combined with the HTML using Javascript. Put another way, the server software for Urbanta...
i am doing spell check application.
i want to change the color of text after enter space.
i got that wrong word.
now i want how to change color of that text in textbox.
using javascript.
...
hi,
can we call jquery $(document).ready(function(){ } from normal javascript funtion
.like i have a button .button on click function i have to call the jquery ready funtion.is it possible.
Thanks
Usman.sk
...
I'm building an application on top of canvas, it consists of a simple DOM that gets redrawn on every mouse move (yes, it is necessary), for performance issues not every part part gets redrawn only what is needed.
The app is working well but I'd like to add the zoom feature, the way I see it, it can be done in three different ways:
1 - ...
So I have these checkboxes:
<input type="checkbox" name="type" value="4" />
<input type="checkbox" name="type" value="3" />
<input type="checkbox" name="type" value="1" />
<input type="checkbox" name="type" value="5" />
And so on. There are about 6 of them and are hand-coded (i.e not fetched from a db) so they are likely to remain the...
how can i get the id of a html control just by specifying the coordinates of a triggered event (like onmousedown, onmouseup, onclick, etc..). the coordinates can be got by
e.clientX , e.clientY where e is the event object.
the idea is to get the id of control on which a click event is done without having any onClick event in that con...
How can I get all the options of a select through Jquery by passing on its ID?
Edit: Only looking to get their values, not the text
...
I'm trying to submit a form using Jquery's ajax. It has got a few textboxes, some checkboxes, and a multiple options' dropdown (i.e multiple options can be selected).
Someone here told me that I can get values of all selected checkboxes using
$("input:checkbox[name=type]:checked")
Then I can loop through all the values returned by th...