I would like to at least display items from the email inbox.
(Similar to the new Yahoo homepage)
Is this possible without server-side? How does Yahoo do it?
Any client-side solutions would be helpful.
Thanks!
...
This code should work in IE, but it doesn't. (Please don't even test it in Firefox, because I won't use this approach in it.)
I get the open dialogue to be triggered, but what I want now is to display the name of the attached file inside a span whenever the user makes his/her selection. Any help?
<html>
<head>
<title>example</title> ...
Ok, so somewhere, something is wrong. When I was using version 1.3 the accordion was working fine. When I upgraded jQuery to version 1.3.2 it now no longer works as it's supposed to. I need the latest version because it is solving some errors that IE6 was throwing up...
So here's the code, and what needs to change in order for it to wo...
Alright... this seems complicated for me..
I don't know if it is.
filename: add_types.js
I have some data, which i create into mysql db (is for a back-end system).
through jquery/ json. It work fine.
var last_id = data.last_id;
var fck_editor = data.fck_editor;
var new_data = '<div id="input_highlight'+last_id+'"><strong...
Some background:
On a recent project, I tried to write a streamlined jQuery plugin that would handle some Ajax calls made when various inputs were updated. I wrote the JavaScript function as a plugin so that I could just call it on various inputs, like so:
$("#email").updateChanges();
Then, from within the plugin, I collected the inp...
I try to implement AJAX in my website. When the content of the div changepass is clicked then it should load changepass.template.php. Here is the code im using for that.
$(function() {
$(".changepass").click(function() {
$(".block1").load("views/changepass.template.php");
return false;
});
My question is how to show GIF A...
Hi All
I have made a Web page using jquery and php where all files are used in a modular style. Now I have two JavaScript files which must communicate with each other. One Script generates a variable (*id_menu_bar*) which contains a number. I want that this variable gets transported to the second JavaScript and is used there.
How do I ...
Here's what should happen.
1. Get the rel attribute of the clicked link
2. For every div with class 'entry':
(i)Get its 'left' position
(ii) Calculate its outer height
(iii)Loop through all instances of 'a.tag_filter'. If it finds the same string in the 'rel' as the one oringinally clicked on then add 1 to 'V' and break out o...
When you render:
<input type="file" />
you get a box and a button, right? (At least in Firefox and IE.)
On the one hand, in Firefox you can only tab to (focus) the button, but in IE you can tab to (focus) both the box and the button.
On the other hand, I want to get IE to behave like Firefox, I mean, I need to get rid of the box foc...
I have JavaScript method which acts when a particular class (mcb) of forms are submitted:
function BindCloseMessage() {
$(".mcb").submit(function(event) {
alert("closing..."); //Here I want to get the id of form
event.preventDefault();
});
}
In place of alert call, I need to access the id of form whose submit i...
I need know if element is on the sreen, or is it off the screen. How can I do that with jQuery ? For example if my element is out of screen it has attribute top: 3000px.
...
How can i delete all classes "green" in the page using jQuery? I don't know what selector it has. find('.green').removeClass('green') does not work.
...
Possible Duplicates:
Custom attributes - Yay or nay?
Non-Standard Attributes on HTML Tags. Good Thing? Bad Thing? Your Thoughts?
In current learning project I am working on, I need to add an attribute whose value will be a number. At first I thought of using "id" for this purpose but an answer revealed that it is not good to d...
i want to play flv videos on my website. The video files are not stored on my server but i only have the url of video . The url of video donot end with .flv. So my flv player( jw player) gives error "video not found " . only if the url is ending with .flv then it plays.
How can i play the videos whose path dont end with .flv ??
I cant ...
I'm using tableDnD to re-order table rows, and then serialize them using "$.tableDnD.serialize()"
I want to send this to C# for processing, what's the best of doing so?
The below is an example of the serialization
pages[]=&pages[]=21&pages[]=23&pages[]=34&pages[]=37&pages[]=40&pages[]=43&pages[]=46&pages[]=49&pages[]=31&pages[]=50&pag...
<ul class="bullets">
<li><a href="#">item 1</a></li>
<li><a href="#">item 2</a></li>
<li><a href="#">item 3</a></li>
<li><a href="#">item 4</a></li>
<li><a href="#">item 5</a></li>
</ul>
When I click on the <a> element, i'd like to get it's parent <li>'s index number.
I'm trying to create a carrousel type function that doesn...
Is there a way to change the CSS of a parent div only if the child is visible? And back again when not??? I've been racking my brains and I'm all Googled and jQuery documentationed out.
...
i have a jQuery slider that i have disabled, and it is almost completly transparent...
is there a way to keep it disable, but not so transparent?
i looked in ui.core.js and ui.slider.js and could not find a way to adjust the property of the disable method...
anyone?
...
works beautifully in firefox and chrome but ie give an error:
"name is null or not an object"
i have posted the line that is failing in IE in bold below.
$("#toemail").autocomplete(emails, {
minChars: 0,
width: 310,
matchContains: true,
autoFill: false,
formatItem: function(row, i, max) {
return i + "/" + max + ": \...
Lets say that I have a drop down list that I want to create "on the fly" when the user interacts with it.
For example: the drop down list only has the the option "Attach a file". When the user clicks/interacts on the drop down list, I need for it to generate, at that moment, all the available files they can attach (which depends on o...