Hello,
I'm building a slideshow in jQuery that allows the user to see four images, and page through them, forwards and backwards by appending a new div with the image to the bottom via .load, and then hiding the top div. I'm very new to programming.
I'm having trouble working out a selector to allows the user to go "back" showing the n...
Using javascript, I am trying to change the selection of the listbox item like this:
function selectFirstActiveListItem(oListBox)
{
for (var i = 0; i < oListBox.options.length; i++)
{
oListBox.selectedIndex = i;
var szStatus = GetDomboBoxItemAttribute("Status", m_pdocConnec...
Hi all..
I got 2 update panels in one page. After a request I want to check which update panel(s) got updated. I've read sender._postBackSettings.panelID should be good for this :)
However, whenever I get a postback in a non-IE browser, the panelID just returns null? It works very fine in IE...
Here's a codesnippet:
Sys.WebForms.Page...
Hi everyone,
I am trying to replace the backslash (escape) character in a Javascript string literal.
I need to replace it with a double backslash so that I can then do a redirect:
var newpath = 'file:///C:\funstuff\buildtools\viewer.html'.replace(/\\/g,"\\");
window.location = newpath;
However, it seems to have no result.
I don't...
I want to find the RSA code in both Javascript and Java code. And they can return the same result in encrypt and decrypt.
My purpose is: I can encrypt a message in the user's browser using Javascript (with the public key). After I can decrypt that message in my server (with private key).
I found on internet but Javascript and Java retu...
How to implement a gmail-like "this is taking too long" warning message using jQuery Ajax API?
For those who have never seen this message on gmail, it appears when the 'signing in' process takes too long for completion, and then some solutions are suggested.
I'm using jQuery Ajax on my website and I want to warn users when page loading...
I've written my first bit of proper jQuery for an image slideshow, that allows users to scroll up and down through some images:
$(window).load(function(){
$('.scrollUp').click(function(){
$('.cardWrapper:visible:first').prevAll(':hidden:first').slideDown(function(){
$('.cardWrapper:visible:last').slideUp();
});
r...
hi,
im using Google Translate API, and if i try to translate Mc Donald's this is what i get as a result:
Mc Donald's
How can i translate ' to ' -- in Javascript -- and so on for any other numeric character reference?
Thanks!
...
'm using to Exhibit to, pretty simply, display some data on
historical events and book publication dates:
http://f1shw1ck.com/timeline3/exhibit.html
Everything works fine, and I have been able to get the timeline
running as wanted, until I try to take control of the timeline with a
timelineConfig script. After I add this, my timeline co...
I have an event handler that will remove an element from a list of the corresponding checkbox is unchecked. In the handler for the click event for the checkbox, first I copy the value of the label for that checkbox:
var label = $(this).next().html();
Then, I iterate over the list items and compare each of them to that label:
$("#so...
Hi,
I have a web page that uses three controls to allow a user to specify a date: 2 drop down controls for month and day (where Jan = 1, perhaps a bad choice :-)) and the days of the month (1-31). A text box is used for the year. In the Year text box, I use an AJAX Toolkit Watermark extender found [here][1] to write the literal word "Ye...
hi,
i am using zoomin property of JavaScript to zoom page background image and all its controls(i.e text boxes). but while zooming the position of the controls got disturbed. any body can help me to fix this issue
Thnaks
...
Hi All,
I have a query regarding jquery that i want to create a dialog open and then fill some values in it.
As i have tried to create a dialog using jquery it uses old values because that div already exists on that page.
So i want to create an object of the dialog using jquery and then fill fields in it.
I am using jsmarty and jquery t...
Hey, I have some text that is formatted like this:
[quote]foo text[/quote]
and I want to change it to this:
<div class="quote-text">foo text</div>
How can I do this with JS?
I'm using jQuery.
...
I have an multi-dimensional array that I want to send to a PHP script with a Javascript that parses the JSON data and plot it on Google Maps. I'm trying to simulate it using forms:
<?php
$jsontest = array(
0 => array(
'plate_no' => 'abc111',
'longlat' => array(121.003895,14.631563),
'info' => 'first item'
),
1 => array(
'pla...
But it works in firefox.
This is my javascript:
star.updateRating=function(v, listid) {
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null) {
alert("Your browser does not support AJAX!");
return;
}
var randomnbr = randomID(12);
var cacheid = randomnbr+"_"+listid;
var url="http://mywebsiteurl.com/includes/functions_rating.php"; ...
the sum part works if you click each box individually but not when you click select all (although select all does check all the boxes)
any thoughts?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang...
Hi All,
I have created a div using jquery that i want to make a dialog.
I want to append another div in that dialog before opening it.
How can i do that??
...
Hi,
I am having a Html generated using JQUery and its like
<p class="fieldChoices title" style="">
Choices:
<input id="Choice1" value="option1" maxlength="150"/>
<div class="seperator"/>
<p class="deleteChoice1 cutsom_button deleteField"></p>
<div class="seperator"/>
<input id="Choice2" value="option2" maxlength="150"/>
<...
Hi,
I am using a highly modified version of the jqueryFileTree plugin, that is able to add new files and folders. When a new file is created in realtime I have to bind the tree again to the click event so that all new files and folders can work as intended.
Just re-binding the filetree has caused me some trouble with the functionality ...