I have an ASP.NET MVC site (Master Page + Content pages).
On the master page, I have a menu. When some of the options are selected on the menu, it brings you to the appropriate controller and shows the page, which is fine, but it also shows a submenu. The submenu shows just fine, but the issue lies in the menu. I cant get the menu's css ...
Hi, I am using the liveTwitter plugin
The problem is that I need to stop the plugin from hitting the Twitter api.
According to the documentation I need to do this
$("#tab1 .container_twitter_status").each(function(){ this.twitter.stop(); });
Already, the each does not make sense on an id (the author uses $(´#twittersearch´) )
and w...
There is a link with title and some value:
<a href="http://site.com/someid/" title="Use ctrl + >">next</a>
How to find this link and throw its href attribute to some variable?
...
I have a search text field and search button, when button is clicked with default text in text field, or null value, an alert pops up and sets focus back on search text field. This works very well on all major browsers but not in safari.
I tried it even with out jquery, but didn't work. When the focus falls on search text field, I have ...
I currently have an XML document which I want to read, and then dynamically create a new XML object with jQuery using some of the information I have taken from the already existing XML document.
I need to store this new XML object into an array, so that I can read it later on.
I can't seem to find much jQuery documentation on creation ...
i want to use the mootools library to do animation & ajax in a widget i'm building.
i plan to have the widget write itself into the page so the end user just deploys a single line of javascript.
i'm concerned about the compatibility issues that may arise if my widget is used on a page which is already using another library.
short test...
In the first picture of my website (the two persons), shows an URL address when you click on it. I used the "title" thing. Is there a simple way of doing the same but placing a link instead?
code:
<div class="pusher">
<h3><?php echo l('showcase1_h3'); ?></h3>
<p><?php echo l('showcase1_p'); ?></p>
<div class="pi...
I have a table with multiple <tbody> elements. At a given momement, certain <tbody> elements are visible and some are hidden, and I need to select only the visible ones.
I use jQuery's :visible selector.
Now the problem is that I need to perform that task before I display the table, AKA while the table is hidden, and then the :visible s...
I am a newbie when it comes to Ruby On Rails (and web programming in general). I come from a typical desktop programming background. I have written a couple simple rails applications, but this is my first try at using Rails3, and my first usage of jQuery.
I am having trouble understanding how to connect my jQuery datepicker to my Rail...
I have a textarea with a default value of http://. Now when an user pastes in an url (if they don't know what they are doing, like most people) it comes out like this http://http://www.google.com. I've seen a site that as soon as you have http://http:// it removes one via JavaScript.
I am not familiar with JavaScript, so can anyone help...
I'm looking to direct the user on the channell webpage instead of the video url that I'm embedding.
I've read the api and I didn't see any way to achieve this.
I tried enclosing the embedded video in a and I added this code:
$('#youtube').click(function() {
document.write('http://www.youtube.com/user/0plus1');
return false;
});...
Hi everyone!
The concept of what I'm trying to do is fairly simple. I have a grid of company logos loaded through XSLT from an XML document, each with their own unique links to the company profiles.
I have a separate div on the page, essentially a "preview" box. What I want to do is this:
I roll over a logo, and it loads the name of...
This is inline code of a .aspx page:-
<table>
<tr>
<td>Some static data</td>
<td>Text box control</td>
<td><div id="div1"></div></td>
</tr>
</table>
Third <td> has a div 'div1'. This div does not have any data most of time on that page. But sometimes i need to display some dynamic data there). Now problem is, if there is no data in...
With jQuery 1.4.2, :hidden filter is not filtering out elements that were hidden, but i've made then visible by calling show(). Filter assumes it is still hidden.
Is this bug or am i missing something? Consider the following code:
$("td.ms-authoringcontrols > span[id*='_ParallelApprovers']:hidden:first").css("display")
"none"
$("td.ms-...
We have the following XHTML table:
<tr class="encabezado">
<th scope="col" width="2%">1</th>
<th scope="col" width="2%">2</th>
<th scope="col" width="2%">3</th>
<th scope="col" width="2%">4</th>
<th scope="col" width="2%">5</th>
<th scope="col" width="2%">...</th>
<th scope="col" width="2%">31</th>
</tr>
...
Hi
Why is focus not set to noteTitle?
I am using google maps API V3.
The getNoteForm() returns a input field "noteTitle".
The $("#noteTitle").focus() works fine when executed in firebug.
I call this function when clicking on the map:
function setNewNoteInfowindow(latlng) {
if (geocoder) {
geocoder.geocode({'latLng': latlng}...
I have a piece of javascript that grabs JSON data. When executed locally everything seems to work fine. However, when I try accessing it from a different site, it doesn't work.
Here's the script.
$(function(){
var aT = new AjaxTest();
aT.getJson();
});
var AjaxTest = function()
{
this.ajaxUrl = "http://mydeveloperpage.com...
Hi,
I have a page where there are 117 input fields. What i want is to submit them via Jquery ajax. What i am thinking is to make an array and send them by this way. I would like to ask how is it possible to take all inputs and then to put them in an array and then retrieve them from the php file (for example, should i do explode,or for e...
I have some websites I built times ago, that use jquery mouse events...I just got an ipad and i noticed that all the mouse over events are translated in clicks...so for instance i have to do two clicks instead of one..(the first hover, than the actual click)
is there a workaround ready to solve this? maybe a jquery command i shoudl have...
Hi All,
Im using some jQuery sortables and I basically have two event handlers set up in the sortable init (receive and stop) The problem is, If the receive event fires then I don't want the stop event to fire. In other words, it's sending two ajax requests to my server when I only need one sent.
Is there some way to check if the rece...