Hii
I have a marquee tag that shows news from my database
I want to make this marquee uptodate without refreshing the page
so I used ajax (update_panel+timer)to do that but the problem that
the marquee doesn't revolve after the timer is working
notice:
my marquee is a literal(componenet)
and I put my text with marquee tags inside the l...
This helpful idea from Andy Gaskell supports 50% of my next question:
I'd like to load posts dynamically with WordPress. Fetching them with Andy's function does work, but How do I bind the load to each and every one of the posts?
Can I insert PHP generated content (post permalink, for example) to the JS script?
Thank you.
...
I am showing some data in jqgrid and I am using the option “multiselect:true”.In the grid, for a specific row, I want the checkbox not to be show or if it is shown then it should be disabled.Can I do this??I am using jqgrid3.5.2.
Thanks in advance.
...
The code here does not return what one expects:
jQuery('<div>Look here: [ jQuery0="null" ]</div>').html()
Rather, you get:
Look here: [ ]
The jQuery source code in question:
html: function( value ) {
return value === undefined ?
(this[0] ?
this[0].innerHTML.replace(/ jQuery\d+="(?:\...
When I want to prevent other event handlers from executing after certain event is fired I can do one of those (jQuery examples, but this will work in JS in general):
#1 event.preventDefault()
$('a').click(function (e) {
// custom handling here
e.preventDefault();
});
#2 return false
$('a').click(function () {
// custom ...
Here is my complete testing code,which failed to get the value:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<m...
I have variables holding the translated labels for buttons inside a jquery ui dialog.
I cannot fill the button array key with the variable itself, and can't find any way to let it treat my variable just as string.
translations['ok'] = 'ok';
translatinos['cancel'] = 'cancel';
// not working
jQuery('#foo').dialog({
buttons:
{
...
Hello there,
I'm by far no JS developer (in fact, hardly developer at all :) but I wanted to try to write a small Greasemonkey script to hide few elements on a certain webpage. Once I've started dabbing at it, I've decided to use jQuery, just to make it easier. Everything went well, the script is working, but now that it's ready, I've s...
html:
<div id="container">
<select id="selector">
<option value="">--</option>
<option value="Service">Service</option>
<option value="Sales">Sales</option>
<option value="Marketing">Marketing</option>
<option value="Finance">Finance</option>
<option value="Engineering">Engineering</option>
<option...
I have a draggable div, that needs to be dropped on a droppable. If it is dropped correctly, the droppable calls an AJAX request. If the draggable does not have a valid id or the AJAX request fails, the draggable should be reverted to it's original position. Is that something that can be done with jQuery?!
Any help is greatly appreciate...
$selectMenus = $("#experiences").find('select');
$tab.find('input').each(function(i) {
var $elem = $(this);
var value = $elem.attr('value');
if(!value)
value = ' ';
$parent = $elem.parent();
$elem.remove();
$parent.html(value);
});
$tab.find('select').each(function(i) {
$('option', this)[$selectMen...
Hi,
I have below code in vb.net.
<tr>
<td align="right">
<b>Course Date:</b>
</td>
<td>
<asp:TextBox ID="CourseTimeTextBox" runat="server" Text='<%# Bind("CourseDT") %>' />
</td>
</tr>
I want to check at client end whether the entered date in text box is future date. I mean this textbox should allow future...
Hi
I keep having problems integrating a JQuery Lavalamp with Submenus. Take a look at http://karen.2kmegs.com the lavaLamp feature only works when hovering on the submenu items. I would like it to move when hovering on the root item like for example Products.
My Javascript code is
function fademenu() {
$('.fade').hover(
function ...
Can someone tell me where to add the small piece of code to have one row added on top of the table containing the numbers. I only need 1 row added, but with the code supplies beneath, 15 cells alre placed on top of eachother, I think the code places a cel for every name.
$("#myTable tbody").prepend("<tr><td>...contents...</td></tr>");
...
I am trying to submit a form via jquery's ajax method in my .net mvc application. I've set the dataType to json and the contentType to "application/json; charset=utf-8". In my controller action, I'm returning a JsonResult.
For some reason, the JSON response doesn't get handled correctly and instead I get a dialog box to save a file ...
I'm looking to overhaul a website for a friend of mine at http://gaonlinedriversed.com/
They threw together the current site with Joomla. You might want to turn your sound off before going to the site, it has a pretty annoying video that starts up, with no option to mute or pause it (one thing I'm fixing).
Anyways, my question: I bel...
Hi,
We are using the jQuery UI slider widget in our web application and we want to automate testing of the UI with selenium IDE. We can't find a way to move the slider with selenium's commands. Can it be done?
...
Hey everyone,
I'm using jquery to submit my form (with id "#myForm" here) as follows:
$(document).ready(function() {
$("#my_form").submit(function(event) {
$.ajax(
{
type: "POST",
url: $("#my_form").attr("action"),
contentType: "application/json; chars...
Hey,
I asked a similar question last week asking about window pop-ups. I've thought of a possible alternative to window pop-ups and that's mediabox/lighbox style pop-ups.
Is it possible to have a link that you click on and it opens a mediabox type window to the side. (Possibly a window you can drag around within the page) Then you clic...
Hello...
My project is using Castle Monorail as a MVC framework. The problem is that Monorail requires that all controllers have a view template. I am trying to get a string back from a method on a controller via an AJAX call. The AJAX GET always returns a 500 error from the server because Monorail cannot find a view template. I have se...