I would like to achieve the following:
On homepage load, display modal box
Within modal box, display a form with a single mandatory checkbox
On checking the checkbox, hit submit and close the modal box, proceed to homepage
Remember this checkbox tick preference using a cookie
On a users return to the homepage, if they have checked the ...
Hi all,
I am trying to display the latest 3 tweets from twitter on my clients website.The tweets are set as private.How do i pass the username/password to get the data for the latest tweets.Can i do it with Jquery.If yes, please let me know how i can do it.
thks,
anu
...
Hey, I'm using a html form that is used to log people into my website, I am building it so it uses AJAX (jQuery) but I'm having some problems.
Here is the JavaScript:
function validateLoginDetails() {
$('[name=loginUser]').click(function() {
$("#mainWrap").css({ width:"600px", height:"200px" });
$("#interfaceScreen"...
I am using jqGrid (http://www.trirand.com/blog/) to display some read-only data. The resizeable columns are interfering with other draggable elements on the page (they get stuck when dragged over the region where the columns can be resized).
I want to unbind() whatever is allowing the columns to be resized, presumably on mouseover, but...
Hello all, hoping you can help with this.
I have a link that redirects to a page on another one of our sites
However, when this redirect happens, I get a "document.body is null" error from JQuery, and a similar error from SWFAddress (_d.body is null); but only in IE.
However, when I enter the redirected to URL directly in IE (aka sans...
i have list of images and on mouse over there is option box shows under it, which has embeded code input box to copy from. now i implemented zeroclipboard on it, for making copy function work on click, so when i do mouse over on image, it shows the option box properly, but when i take mouse to click on the input box to copy the code, the...
I'm using NetBeans for PHP.
When I edit a .js file, it gives me javascript code completion.
How can I get it to also give me jQuery code completion?
...
When pressing enter in contenteditable in chrome, a div is inserted. This interferes with my markup, I need it to be a br.
I know that shift-enter is a br. What is the best way to solve the problem?
Thanks.
Reformulating the question: How do I trigger shift-enter when someone presses enter?
I've tried writing something like this:
$(...
im developing a site heavily based on jquery and involving wordpress.
is there any way to navigate between pages without reloading the whole thing, other than simple hide/show functions or with hide/show how can i link to a certain part of the site?
for example if the home page is a heap of divs
<div id="1">
<p>content here</p>
</div>
...
Revised Code
jQuery(function($) {
$("#filter").keyup(function () {
var filter = $(this).val(), count = 0;
$(".filtered h2").each(function () {
if ($(this).text().search(new RegExp(filter, "i")) != -1) {
$(this).parent().addClass("hidden");
} else {
$(this).parent().removeClass("hidden");
...
I'm stumped. I'm using jquery and ajax to POST some fields from a form to the database.
This is for a "edit form" - so all the fields are pre-filled with data existing in the mysql database. I'm passing input from 4 fields, and it only works for 2 of them. Here's the HTML
<form id="editSubmit" method="post" name="editSubmit" action=""...
I am using json to get the list of user information to show on the top of the page using jquery in asp.net (C#) application.
i am using jquery timer plugin for the json call to check for the user information frequently(for every 15 minute when the user is in online).
When the json request is in progress, and when i navigate to the nex...
The shadowbox I am trying to fix in IE is located here:
http://www.carolinedawes.com.au/abc-gardening-australia.html
The HTML is
<div class="hero-image">
<a href="m/abc-gardening-australia-caroline-dawes.mov" rel="shadowbox;height=272;width=480">
<img src="i/abc-gardening-australia-caroline-dawes-gardening-adelaide.jpg" alt="caroline ...
I make the following AJAX pull with JQuery using JSON to an ASP.net Web Service:
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "TestWebService.asmx/Foo",
data: "{}",
dataType: "json",
success: function(msg) {
$("#justpre").html(msg.d);
$("#precode").html(msg.d);
} } );
The TestWebService implement...
I'm trying to hide a form label and textbox, by default, and make them appear when an option is selected. I can't see why my code keeps failing.
<tr>
<td><label>My Label</label></td>
<td>
<select name="1" id="1">
<option value="2" selected="selected">2</option>
<option value="3">3</option>
<option ...
Hi,
The following is my HTML
<div id="ingredientrow1">
<div id="add"><a href="#" id="addIngredient1">Add</a></div>
<div id="remove"><a href="#" id="removeIngredient1">Remove</a></div>
<div id="si">
<input type="text" id="singleIngredient1" name="single_ingredient" />
<input type="hidden" id="recipe_ingredient_id...
hey,
I have the following scenario:
I have 5 possible values on a page:
[value 1]
...
[value 5]
What I want to do is grab each value and brackets...
Example Content:
<p>velit, sed quia non numquam eius modi tempora incidunt ut labore et
dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam,
quis nostrum exercitatio...
I have a master page with Header, Menu, Content and Footer panes in my asp.net mvc (C#) application.
I don't want the Header and Footer panes to refresh on each page navigation, only the Menu and Content panes should get refreshed.
How can i achieve it in the asp.net mvc application? any suggestions
...
Hi,
I am using jquerry to display the calender to pick the date in my mvc application.
i need to display the date in the converted format depending upon the browsers settings.
if its newzeland, then i need to show the dateformat based on their language.
how to do this?
below is my javascript
$(function() {
$('#StartDate').datepicke...
There are plugins for handling history and bookmarking like: http://plugins.jquery.com/project/history. Somehow it doesn't look as a complete solution. For example, on one page you might have a filter that consists of several checkboxes, text boxes etc. You would like your page history functionality to update all those controls and to up...