blah blah blah is here! blah blah » Close

0
votes
0 answers

Need to implement a live update feature showing all recent changes in records

I need to implement a live update feature in my webapp. Whenever there is a status change (update) happening in my table for a record i need to keep showing them on the page. What would be the best way to implement such feature?

0
votes
0 answers

How do I take the content from a javascript variable, and paste it into a c# variable?

q12
349

I want to make a wysiwyg program in c#, that is composed from a webbrowser control and a form1. Inside form1 I want to make some search through files(mostly simple txt files) and if needed some extraction from zipped files. That is the mai ...

0
votes
0 answers

Javascript/HTML Help

[url=http://allderek.com/geo.html]HTML Online[/url] [code] <html> <body> <script type="text/javascript"> function showMap(position) { method = method || "post"; // Set method to post by defa ...

0
votes
1 answers

What is this javascript regular expression doing?

Rick_A
761

Hoping someone could go over what this javascript regex is doing? [code]'(^|\\\\s)'+searchClass+'(\\\\s|$)'[/code]

1
votes
2 answers

In javascript, how to convert a string to a number

Rick_A
761

If I have a variable like: [code]var age = "30";[/code] And now if I want to increment this value, I have to convert the string to a number. I read that one way to do it is to multiple the string value by 1 like: [code ...

0
votes
1 answers

Billboard Control

Hello, Does anyone know where I can find a billboard control that uses Javascript or AJAX? I'm not sure what it's really called but I'm going to call it a billboard control. Examples of these are at the three below websites. Basically ...

0
votes
1 answers

Writing a csv from a 2D array in Javascript

I am trying to write a script to gather data from a html table available in a website. I have used the logic of 2D arrays to store each element of the table. Now when I try to save it or it using WriteCSVFile(array, Path) I get the wholw DO ...

0
votes
3 answers

How to select a specific radio button that are grouped with same name using jQuery?

Rick_A
761

I have multiple radio buttons that all have the same name, so that only one can be selected at a time. [code]<input type=radio name=abc value=123/> <input type=radio name=abc value=345/>[/code] Using jQuery, how can I sel ...

0
votes
2 answers

How to get the trailing digit from a url in javascript?

Rick_A
761

I have a url that looks like: [code]http://www.example.com/test/234[/code] I need to extract the 234 from the url. I don't need any fancy regular expression to this, I can probably use a substring but I want to make sure it doesn't ...

0
votes
2 answers

Using jQuery, how can I select an item in a drop down list?

Rick_A
761

I have a drop down list, and I also know the ID value of one of the options in the select list. How can I select the specific option with the value? [code]<select id=mydropdown> <option value="101">Some option ...

1
votes
2 answers

How to get the ID of the element clicked using jQuery?

Rick_A
761

I want to get the ID of the element that was clicked. I have a class for all elements I want to monitor, so I have: [code]$(".someclass").bind("click", function() { });[/code] Now I want to get the id of ...

1
votes
1 answers

What is a javascript closure?

Rick_A
761

What exactly is a javascript closure? Why would I want to use a closure?

0
votes
1 answers

Advanced Custom DropDownList

Hi All, I have a basic Custom DDL control at the moment (Code Below, feel free to use, I found it on a blog!) [code] using System; using System.Web; using System.Web.UI.WebControls; using System.Collections; // my own Namesp ...

0
votes
1 answers

Dates in javascript

How can I compare 3/11/2010 5:45 Pm to 3/11/2011 5:46 Pm, to see if they are equal or not in JavaScript.

1
votes
2 answers

Expected identifier, string or number error in IE7

I noticed this error when trying to browse using IE7. The javascript error is: Expected identifier, string or number Trying to debug the issue, but it seems to be pretty hard to find the syntax error. Has anyone seen this before ...

Feedback