I am looking for a good popup, or slide down, or whatever to notify users of a promotion (think store). I saw something like that once, but i cant find the link any more.
I am looking for something "sexy", so it will attract the user's attention, but not get in the way of things
...
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...
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 ...
I am having a problem with jQuery AJAX calls on IE7. This simple code works fine on FF and Opera. But on IE7 it takes 3-5sec. - that's 20 times slower than FF! Loading content is pure HTML and inline JavaScript code. No JS rendering. I even turned of the inline JavaScript code. Bu still slow.
$('#block').load('some url');
How to ov...
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...
Hello everyone.
This is my first post on this rather spiffing website so go easy on me if this has been discussed elsewhere (I can't find it if it has).
I'm using the JQuery URL parser plugin found here: http://projects.allmarkedup.com/jquery_url_parser/
I can get it to do what I want but the code is rather inefficient. I have a coll...
Would anyone know how to get the jQuery api going with Wordpress? I know that you can add an action in the functions template but this particular theme template isn't letting me add it.
...
How can I use jQuery to delete the text in the textarea that gets from the input_one when it not checked (one_1 one_3 one_4) ,and when it checked add it into textarea again?
The code is below:
<div id="input_one">
<input type="checkbox" checked value="one">
<input type="checkbox" checked value="one_1">
<input type="checkbox" valu...
I have a table that looks something like this.
<table>
<thead>
<tr>
<th>Foo</th>
<th>Bar</th>
</tr>
</thead>
<tbody>
<tr class="data">
<td>Info here</th>
<td><a href"/url_here" class="edit">Edit</a></td>
</tr>
<tr class="data">
<td>More here</th>
<td><a href"/url_here" class=...
How do I get the row and column number of the clicked table cell using jQuery, i.e.,
$("td").onClick(function(event){
var row = ...
var col = ...
});
...
Hi,
VS2008.
I have an MVC app and I dynamically rendering html
for a control I am building.
I have written some javascript and put in a .js file.
My master page has a refernce to my jquery js file.
A user control then calls my code to render html.
My js file uses JQuery.
When i debug i am getting an "undefined" error when printing...
I might be doing something stupid. But if I have a normal link like:
<div id="changeMe"></div>
<a href="/Not/Intercepted" id="interceptMe">A link</a>
and I attach a jQuery click event to the link like so:
$('#interceptMe').click(function() {
$('#changeMe').text('Changed');
return false;
});
Everything works peachy. The page d...
I want a string of text to change color from default to #c30 when I click a button somewhere on the page, and it changes back to default when I click the button again.
My code looks like this:
$("#button").click(function() {
var anno = $(#text);
if (anno.css('color') == '#c30') {
anno.css('color', '');
} else {
anno.css('color',...
Currently we use jQuery to add RIA goodness to our apps, but recently we have been implementing the Coveo Search engine into our Sharepoint portal and found that ScriptSharp was used in their product. What can ScriptSharp bring to the table?
...
Is it possible to get the actual URL (as opposed to the src attribute value) of an image within the current DOM using jQuery or JavaScript?
i.e. retrieve "example.com/foo.jpg" as opposed to "foo.jpg" (taking <base> elements into account)
What about any other interesting properties such as the mime type, file size or, best of all, the ...
I'm using Jquery to submit the value of a <textarea> through AJAX to a PHP script. This value may contain punctuation characters (!,?,#,@) as well as single and double quotes, and other non-alphanumeric characters. Does Jquery take care of encoding all this stuff or do I need to do it myself? How can I be certain that whatever the user t...
I'm new to jQuery. This would be no problem for me using xpath expressions, but how can i do this the 'jQuery' way?
Given following example:
<stuff>
<a href="target.html">ASDF</a>
<a href="target.html"><img src="asdf.png"/></a>
</stuff>
How can i select with jQuery only the text links and leave the links with the img tags untouched?
...
SQL Server reports can embed vbscript and execute client side, but can the same be done with javascript? I think there would be great utility to be able to execute jQuery and CSS manipulation client side to create a more interactive drill down experience.
...