Hi,
I am creating a little TV guide for myself and I have a list of programs from a TV channel that runs today. What I now try to do is to add three different CSS classes, one for the program that is currently on air (.present), one for shows before the current one (.past) and one for the shows after the current one (.future).
I get th...
Platform: ASP.NET 3.5, ASP.NET Ajax intermixed
I'm very green to jQuery, so have been having a hard time with what I assume to be trivial.
All I need to do is create the following scenario
user logs in to my site, and I take him/her to a 'dashboard'
I want a nice little bar to 'fade in' with some information I want to draw his/her at...
I'd like to implement peer review [1] with Blogger and, probably, jquery. I need your help and advice on proper tools & libraries as well as usage model.
Usability
If one selects text with a mouse and starts typing, this creates a comment. The comment can be stored.
The script can later access the comments to modify innerHTML of the...
Hi,
I'm trying to get some rollovers working using jQuery. The trouble is that the image source has to be got using some php code.
If I do it inline like this with javascript it works:
<a href="<?php the_permalink(); ?>"
<?php $thumburl = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>
onmouseover="document.roll<?p...
I am wanting to take the text value of a p tag when I press enter
$.keynav.enterDown = function () {
var accom = $('#suggestions p.keynavon').html();
alert(accom);
}
This is working great but the results contain <span> and </span> tags, is there anyway I can strip those tags from the string?
...
Right now you can sort out the list, by clicking on links that is ?sortMode=activity , ?sortMode=comments .
I was thinking, cant I sort the list, without the site refreshing? (You know when you click on a link ?sortMode=comments, example, then you get refreshed).
The sortMode is only affecting $query, that selects WHERE type = activity...
Hi All
I'm using jQuery Validation plugin to validate a form. Do you know how to force revalidation on previously successful fields?
I have tried the .form function using the following check (this is performed after the user clicks 'submit'):
if ($('#form1').validate().form()==false)
{
formValid = false;
}
However, it appears th...
http://pastebin.com/WfsVZ4nU
i got the following error when i compressed my javascript code.
...
I am trying to write this funtion to grab the text value and then strip the text from after the - symbol and the - symbol itself. eg
some text - is found
would become
some text
This is what iv got so far currently it just removes the -
$.keynav.enterDown = function () {
var accom = $('#suggestions p.keynavon').text().r...
Hi all,
When a user goes to the base domain http://www.domain.com/ or http://domain.com/,
the page has to be redirected to http://www.domain.com/#!/news.html
I mean something like this:
if (window.location.href("http://www.domain.com/") || window.location.href("http://domain.com/")) {
window.location.replace("http://domain.com/#!...
hi, i am not sharing code. the problem is in this code please take a look. (problem: I want to open facebox every time when post even come from ajax facebox is not working properly. I want to ask how to use jQuery delegation event with this event? )
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="facebox/facebox...
Hi all,
I have a table in which i append rows on onclick event, the row has a button which enables you to delete it ... this works fine. The problem comes when i have inserted some rows e.g 5 rows, and i delete any row btwn the 1st and last row then add two consecutive rows , the last row is duplicated with the counter value of the prev...
In the past I have always used a hidden field, and on the submit button onClick event I stuff the list contents (the text of the li elements) into a hidden form field using custom code, and parse it out on the server-side using custom code.
This has always felt like a hack and I was wondering if there is a more modern approach. I'd lik...
http://jsfiddle.net/M6xdq/
What I want to achieve, is - when user clicks the "read more" link:
it's removed
changes it's label to "read less"
this new "read less" link is added to next element of it's parent (readmore_holder)
"readmore_holder" is displayed;
Then there should be the other part with "read less" to swap links back aga...
Hi.
I have a WebMethod inside an .aspx:
[WebMethod()]
[ScriptMethod(ResponseFormat = ResponseFormat.Xml)]
public static XmlDocument GetSomeInformation()
{
XmlDocument Document = new XmlDocument()
// Fill the XmlDocument
return Document;
}
It works great when i call it with JQuery:
TryWebMethod = function()
{
...
Hello, Experts.
I'm trying to create a simple AJAX (via jQuery) request to http://yourusername.couchone.com/ (alsmost the same as if I had installed couchdb on localhost)
If I go to http://**yourusername**.couchone.com/ via Browser I'll get:
{"couchdb":"Welcome","version":"1.0.1"} So, it looks like a serialized JSON.
So I wrote a JS C...
Hi folks,
I need a little help...
After read and search for a while I discover a good jQuery plugin to deal with the selectbox custom style problems. I made some small modifications to make it work as I want. The plugin hide the custom select and append some div and ul tags.
In Firefox 3.6.10 it works really nice, but in Chrome (6.0.4...
I need to send form values from one page to another and from that page to a third page. I would need the form values from the first page in the third page. How can I do it?
I have the code that transfers form values to the next page. How can I send the same form values to the third page?
<script type="text/javascript" src="jquery-1.2.6...
Somewhat a simple question, but i can't get it working.
I want to make a simple checkup to see if the browser supports the placeholder attribute. If they don't i want to set the values if the input fields with jquery.
I'm testing it on firefox now, but can't get it working. I don't get any alert field..
This is what i got and what doe...
Yes, i have a normal ajax call that calls imback.php, that checks for new stuff if you have been blur for 50 sec.
Now if you disconnects from the internet, and when you get on focus, it will not be able to get imback.php.(i think its 404 error) So i would like to make a offline msg/timeout thing, so it alerts "You have no internet conne...