Hi,
I'm using the DataGrid control with template columns.
I m getting the data in datagrid but I'm having trouble accessing the data of checked row using java script.
How can i achive dis using java script?
...
Is there a way to have this prototype js trigger only when dom is changed and not loaded?
...
Hi,
I've been searching the Internet for a way to remove a site from IIS7 using JavaScript. I've found, and used, a lot of examples on how to create a site and applications using JavaScript but not a single example on how to delete a site!
I figured that since the .Net System.Configuration.ConfigurationElementCollection-class has a Bas...
Hi all, I already asked a question today : This one
Now I have a code that works, but works only in FF(fully) and partially in IEs(7 and 8).
function replaceT(obj){
var newO=document.createElement('input');
newO.className = obj.className;
newO.style.width = '118px';
newO.style.height = '17px';
newO.style.color ...
Hello!
i have view which looks something like this :
<% using (Ajax.BeginForm(new AjaxOptions { UpdateTargetId = "someDiv", HttpMethod = "Post"))
{%>
<%= Ajax.ActionLink("Add new", "AddNewItem", new AjaxOptions { UpdateTargetId = "divAddNewItem", HttpMethod = "Get" })%>
<div id="divAddNewItem">
</div>
<input type="submit" valu...
This code giving error in IE
Internet Explorer Cannot Open the Internet Site Operation Aborted, how to fix this error?
var tip = "<p>Most computers will open PDF documents ";
tip += "automatically, but you may";
tip += "need to download <a title='Link to Adobe website-opens in a new window'";
tip +=" href='http://www.adobe.com/products...
Hi,
I'm new to ASP.NET MVC and jQuery, so I thought I'd share how I implemented loading of partial views and submitting forms in a way that doesn't require for the entire page to be refreshed. I hope to get some critique from the experts if there's a better way to do this :)
All the magic is done by 3 javascript functions which I bin...
Hi I am using a embed control in my page. When I am trying to click the play button it is working fine with IE but not with Firefox. how can I overcome this?
...
Hi all,
I have a datatable within a panel dialog. The datatable displays ok...however....no events are being registered, liked sort, row selection etc. Nothing at all. Not a sausage. If the datatable is not inside a panel then row selection, sorting etc. works perfectly fine.
Here is my code. I would be forever grateful if you could po...
Hello,
I'm just starting to get into JQuery so I apologize in advance if this is a simple question.
I'm working with the A List Apart article on Print Previews to try to get live Print Previews in the webapp that I'm working on. I've gotten it to work satisfactorily but I'm now trying to refactor my code to what I think it should look...
JavaScript is a lightweight and powerful language, but it's often misunderstood and hard to learn (especially about its object oriented programming). Here are what I found:
Books
JavaScript: The Good Parts by Douglas Crockfond, discusses many OOP topics in his 150 page book.
Object-Oriented JavaScript: Create scalable, reusable high-q...
I'm working on a page that processes IP address information, but it's choking on the fact that integers are signed. I am using bitwise operators to speed it up, but the 64th bit (signed/unsigned flag) is messing it up.
Is there any way to force a number to be unsigned in Javascript? It seems to work fine, until subnet is greater than 30...
is there a way to send a DELETE request from a website, using xmlhttprequest or something similar?
...
I have a dictionary of keywords that I want to make available for autocomplete/suggestion on the client side of a web application. The ajax turnaround introduces too much latency, so it would nice to store the entire word list on the client.
The list could be hundreds of thousands of words, maybe a couple of million. I did a little bi...
how to detect text selection from a text search using the browsers Ctrl+F.
for example i want to make a FAQ, where are the items are closed (to remove clutter), and clicking them opens the text within them, but at the same time i dont want Ctrl+F to be killed off.
So im thinking, is there a way for javascript to detect that i have searc...
I'm trying to make a menu that contains 5 items/icons with the selected one being in the center. Clicking to the left or right of this centered icon, rotates the menu left or right, wrapping round the edges and moving whichever item was closest to the edge back in through the opposite one. Clicking on the centered item takes you to its l...
I am building a web application from scratch that has registration and login functionality. I am completely a novice when it comes to security issues and attack like mysql injection. Apart from encryption of password in database, what are other security issues that i have to worry about?? And how do i take care of them??
Thank you
...
hi
this is my page Test1.asp
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<script type="text/javascript">
function Alex()
{
var xmlHttp;
try
{
xmlHttp=new XMLHttpRequest(); }
catch (e)
{
try
{
...
i have several inputfields with some defoult values. i have defined tabindexes to jump with tab-button from field to field. the problem is if i jump to a field the fieldtext become selected and if i start to type it will be replaced. i would like to set the cursor position et the end of the prefilled text. how can i do it
...
I have an ASP.NET gridview I want to manipulate using JavaScript/JQuery. The problem I THINK I'm going to have with my approach is that the server won't have any knowledge of the rows that I am appending via gridview since the html representation of the gridview control is coupled with the object model that lives on the server. So here...