Hi All,
I am using the FreeTextBox ASP.Net HTML editor control. I am trying to make a javascript call when the text value changes. The control has a property called "ClientSideTextChanged" which is supposed to get fired on text changed, but instead fires on load of the control.
Can any of you tell where i am going wrong.
...
Some quick searching only turns up adding a new row to a jQGrid via a modal popup with the editable fields.
Can anyone point me to a sample or show me some code that allows you to add a new empty row into the grid itself, at the top?
I have an action column at the rightmost end of the grid in which onRowSelect() I have a save button ap...
Hi,
I'm building a youtube player with custom controls using the youtube api:
http://code.google.com/apis/youtube/youtube_player_demo.html?playerType=chromeless&playerVersion=as3
I've got the play/pause/skip buttons all done but I've got to create a progress bar and I can't think how to do it. I've never programmed a progress bar ...
Extending a previous question about JavaScript and jQuery, I'm trying to make an array and then look into it, but the array contains dimensions and I can't get it right..
var markers = [];
$.getJSON('GetList', "id"= + data.id,
function(data){
$.each(data.list, function(index, data) {
}
...
I have a page containing a series of tags like this
<a class="IMG" href="#" onclick="openWin(this,'./photos/Snapshot_20100803.jpg');return false;"><img src="./photos/TN_Snapshot_20100803.jpg" alt="./photos/TN_Snapshot_20100803.jpg"/></a>
openWin creates a window and displays the image when the thumb is clicked. That page also conta...
I have a javascript confirm. My text is in english, but if I will change language/culture of my asp.net mvc project confirm is of cource still english.
I can controll it manually and just write two javascript methods (for both Languages) but it is no so clean I think. And if I will have more than 3 languages its will be more dirty.
Co...
I'm using Spring MVC and have a page in my web application where I have a mailing address field that is mandatory and a radio button with a question asking 'Is the billing address the same as the mailing address?' Neither yes or no is selected by default to force the user to select an answer to the question via validation.
I have curren...
Hi,
I have a requirement whereby I have two panes on a page, the pane on the left holds a series of records specific to a option selected from a drop down. Each record has a plus sign next to it, if this is pressed it will be 'moved' to the right hand pane and displayed under the option the user selected.
Multiple records can be put i...
I tried to render html page which contains flash content. But it not responding. Loads endless. Text and image contents are OK. Here is my code.
self.response.out.write(template.render('ieerror.html', dict()))
html file contains:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>flash content</title>...
I'm currently having problems while playing mp3 files on a website.
I'm using the following code to play an mp3 sound:
function playSound(url){
var userAgent = navigator.userAgent.toLowerCase();
var appVersion = navigator.appVersion.toLowerCase();
var appName = navigator.appName.toLowerCase();
var isOpera = (use...
This subject has been touched on before, but there's been some time since the last question regarding namespace handling.
Is there a cross-browser solution to get the elements by name in Javascript?
<?xml version="1.0" encoding="UTF-8"?>
<NS:response success="1" xmlns:NS="http://someURI/ns">
<NS:user firstname="foo" lastname="ba...
I need to find nearby subway station from the specified point in nyc. I am trying to use google maps api, I found some examples how to get nearby streets or place names etc. but can't find stations.
I think there can be two ways of doing this:
if I find list of subway stations with coordinates (latitude, longitude) I can write script ...
Hi ,
I am using the following javascript:
function doPrint(){
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
var exe = Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
exe.initWithPath("C:\\temp\\print.bat");
exe.launch();
}
print.bat has the following com...
how to integrate betweens flash (action script 3) and JavaScript
...
hi all i want to know that can we validate a control which is out side a form element in asp.net(server side validation)and outside a form element in html(client side validation) let's take a closer look
<html>
<body>
<input type="text" name="first name"/>
</body>
</html>
can we apply clien side validation on above text box by jav...
I have this output from ajax call:
{"total":"3","data":[{"id":"4242","title":"Yeah Lets Go!","created":"1274700584","created_formated":"2010-07-24 13:19:24","path":"http:\/\/domain.com\/yeah"}]}
So there is three that kind of items in that array and I would need to go that through and print actual html out if. So on page it would:
Ye...
I have two dropdown box. 1st box having list of values. When I click add button the selected value from dropdown1 shift to dropdown2. Then when I click "add all" button all the values from list will shift from dropdown1 to dropdown2 through jQuery. Here I am having problem.
After add the values from box1 to box2 when I click submit butt...
Hey all, its your typical slider - both automated and controlled by user click. Problem is when you click, if you are on last slide,it shouldn't show right arrow, and if you are on first slide, it shouldn't show left arrow. If you are anywhere else, it should show both arrows. However, when on last slide it still shows right arrow. Howev...
I read a book about javascript and it says that when we create a function for opening a new window, the reference to the new window object is stored inside the variable assigned to the window.open(theURL , newWindow) call. It also says that if the same variable is used for two or more URLs, no matter which URL I click it would be open in...
Hello, i m a beginner but i need a script that could help me in some pages.
I need a script that analazizes the text in the page and if there is the word that i m searching for it shows a popoup, if not does nothing.
here s the code but it doesn t work with firefox because the text range function is only for IE (probably won t work eithe...