web-development

Where does the "item" object come from in javaScript...

Messing with some javaScript, I found that the variable name "item" was already being assigned before I declared it or assigned anything to it. Tracing it backwards, I found that it even seemed defined before I did ANYTHING in js. To verify this, I even put <script>alert(item);</script> on a line by itself IMMEDIATELY after opening ...

how to know the TOOL TIP of button clicked within the datalist

I need code example please.i tried selectedindexchange but it doesnot register any index change what to use? its c# vs08 asp.net sql server the code files are .cs file using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient...

flash in jquery accordion

I am using openflashchart in my website that generates multiple flash graphs for a certain model. I am trying to figure out best way to present these multiple flashes in one page. I have tried slideshow plugins (the issue with them is that the next/previous type elements which are generally over the sliding content, stop working when t...

Is learning web programming and database/IT programming valuable for a soon-to-be-graduating CS student?

Hi, I'm a 20 year old Undergrad studying computer science at UC Berkeley. I’m scheduled to graduate in the next year or two, and I realized I haven’t really been thinking much about the future. This summer, I have been working at an University lab doing some small scale HPC/parallelism work, and StackOverflow has been a ridiculously awe...

how to find html tags that dont have closing tags - is there a free html editor that can help with this?

ive been editing a lot of html pages with basic text editor, notepad. and now when i went to validate them the validation service is saying theres a div tag that is not closed. i tend to find automatic error reports such as these dont tend to be too reliable, i.e they will give you a line number and the error but often times the error is...

CDN: Alternatives to SimpleCDN Mirror Bucket ?

I'm using http://SimpleCDN.com They have a "Mirrored Bucket" which is an "origin pull". How it works is I store my conent at mysite.com/abc.jpg and SimpleCDN pulls any requests from mysite.com, caches them in their CDN if not already in the cache, and display my content at simplecdn.com I really like Origin Pull because I don't have t...

Why is it important to have a logging system when developing a website.

The title says it all, folks. What do you do with it? How? Etc. (I've just started reading into High Scalability.) ...

What's your "remember me" cookie's lifetime?

My specs says 30 days. I am about to argue for quite a longer ttl, something like 90 - 120 days. What do you think? edit #1: This is for a standard website, not an intranet app. ...

Regex that checks upper or lower case characters with or without accents.

How can I make the following regular expression ignore all whitespaces? $foo = ereg_replace("[^áéíóúÁÉÍÓÚñÑa-zA-Z]", "", $_REQUEST["bar"]); Input: Ingeniería Eléctrica'*;<42 Current Output: IngenieríaEléctrica Desired Output: Ingeniería Eléctrica I tried adding /s \s\s* \s+ /\s+/ \/s /t /r among others and they all failed. Objec...

Something compareable to 'localtunnel' for Windows

Hello, I found this here http://github.com/progrium/localtunnel , and it's exactly what I need, but I am working on Windows and localtunnel is Unix... Some backgorund: I am currently developing a Facebook app and the Single-Sign-On won't work on my local Tomcat. ...

how to set the insert button as the default default for formview?

how to set the insert button as the default default for formview? i did this for input focus, but how to default insert button, i tried panel but it say type needs to be ibutton.!! ...

Automated content creation for the web?

I see a lot of new websites lately which create automated content, most notable SiteGuruji and 7zoom: http://www.siteguruji.com/site/youtube.com Is there an application framework or text analysis framework available to create such sites? SiteGuruji is doing full SEO analysis of the sites as well. Is there an SEO analysis library availa...

Need advice and/or developer for small open source MRTG add-on

Revised: Would jQuery be a good way to do the following? I'd like to display MRTG traffic graphs for a dozen WAN links on a wide screen for our help desk, highlighting a graph when utilization exceeds a % threshold. A yellow frame might appear and pulse slowly, turning red and pulsing faster at a higher threshold. Not sure whether to ...

Any tool to allow moving of elements on a webpage to aid design?

Are there any tools/Firefox plugins that will allow you to drag elements (divs, images etc) about on the page, and tell you the amount (x, y) that you have moved it? It would speed up designing a page a lot, instead of tweak css, reload page, tweak css, reload page. I've found the Firefox Web Developer extension useful for editing the c...

Is it possible to have a wiki inside a site?

Hey guys Lets say I have a site with many pages..One of them is a page called projects where say students will write about their projects. Can I have a wiki JUST for this page which will have the same theme as the rest of the pages? Can I put the whole thing in a frame? ...

How do i get jquery accordion working?

hey guys Need a quick solution to this . Basically I have My HTML like so : <div id="accordion"> <h3><a href="#">First header</a></h3> <div>First content</div> <h3><a href="#">Second header</a></h3> <div>Second content</div> </div> and javascript like this <script type="text/javascript"> $(fu...

Uniquely identify computers on websites

Is it possible to get access to a users Mac address when they visit my website? I wanted to uniquely identify computers when they visit my website. As Ip addresss change or can be changed, how can i do so using python? ...

In-App purchase server for iPhone App

Hi All, My company is looking to implement a large-scale In-App purchase model for an iPhone app. Our biggest issue is that we don't want to go with a service like Urban Airship because it doesn't integrate well with our business model and the nature of the application itself. So now we're looking to set up our own server to handle the...

Beginning Web Security?

I just came back from a hackers conference about internet security and I'm interested in learning web security and protecting companies from hackers. But I don't know where to start and what languages to learn.. Could anybody point me in the right direction for this? ...

Best way to define a function ?

I'm always learned to define a function in JavaScript like this: function myFunction(arg1, arg2) { ... } However, I was just reading Google's guide to Javascript, it mentioned I should define methods like this: Foo.prototype.bar = function() { ... }; Question: Is "Foo" in the example an Object, or is it a namespace? Why isn't the...