web-development

Please explain this jQuery

Perhaps my last question (now deleted) was misunderstood so I'm reposting it with more clarity this time: jQuery(UI): $("#tabs").tabs({ select: function(event, ui) { alert(ui.panel.id); $('input[name=myinput], textarea[name=myinput]').attr('disabled', true); $('input[name=myinput].' + ui.panel.id + ', texta...

noreply email address.

I'm sending out a notification email every day to our customers, when new data in our service becomes available. No, it's not spam, it's a notification that customers have asked for, and can be turned off - just in case you were wondering. :) I noticed that some websites have a [email protected] address which they use to send all the n...

Installshield or Wix

Hi, I have a pretty huge web application developed using asp.net 3.5 and I need to prepare an installer package which will be using to deploy the application on IIS 6 and 7. I have done a lot of research on Wix and Installsheild 2010 (pro) and need some advice before making decision. I notice that the installsheild is quite expense in...

How to make this sql statment

I have 2 tables: T1(IDa,IDb) : has data like this IDa IDb 1 2 3 4 5 6 7 8 and T2(IDc,IDd) : with data like this IDc IDd 1 2 4 5 3 6 7 8 and the Identity for each table is the pair of IDs: T1, Identity is IDa and IDb T2 is IDc and IDd The question is:...

Update object instead of inserting with Doctrine using assignIdentifier()

I'm pretty new to Doctrine, but as I understand it, the assignIdentifier() method is supposed to tell Doctrine to update the relevant row into the database instead of inserting a new one. I have an object that I'm building through a workflow, so the identifier has an id of null until I call $object->save(); which inserts it, and this do...

php open source web application for learning

Is there a good PHP open source web application from what we can learn? Learning mainly includes: Considering and taking care of ACID properties Building Data Access Layer Error handling and reporting to user I have considered WordPress, but since it uses MyISAM tables, they are not taking care of ACID. ...

How to suppress quotes output as HTML entities?

$selected = ' selected="selected"' # or $selected = qq( selected="selected") is returned as: selected=&quot;selected&quot; which is an invalid HTML attribute, ofcourse. How do I fix it? Edited to add: <select name="alignment" class="select" <%== param('feature') ? '' : 'disabled'; %> > % foreach (keys %al) { % my $selected...

Different set of Views for different user's roles

I am developing a rails app and I have 2 different user's role: advanced and basic. Instead of to hide links in the basic user's views (a.i. using CanCan ) I want to manage 2 different set of views: one for the advanced user and one for basic user. Currently I am working in this way: case current_operator.op_type when 'basic' ...

Storing encrypted personal information - common sense?

Hi everybody, We're in the middle of developing a e-commerce application that will be used by our customers on a pay-monthly-plan. We have thought a bit about offering encryption of all personal data that is stored in the database, to make our application a notch safer to the final consumers. The encryption would be handled completely ...

How to restore old session when user accidentally closes the browser?

Hello, I am planning to create a online examination sytem in PHP. What steps could I take to restore old session, if user has accidentally closed the window? Suppose he has already answered 49 questions out of 50 and suddenly there is power cut off (and there is no UPS) or he accidentally closes the window (even by mistake, if he click...

Reset custom form elements (jQuery)

I'd like to reset multiple textareas and input files by specifying them manually, how do I do with jQuery. I used this to clear forms until now: $('.clear').click(function () { $('form#input')[0].reset(); }); ...

How to apply dynamic CSS for the label in IE7

Hi, i am having a server control (Asp:Label) and i want to apply the css class dynamically but it is applying to the label in all browsers except in IE7 in all browsers the dynamic css classes are applying but in IE7 it is not applying can u give any solution or any alternate solution Thanks and Regards, Vara Prasad.M ...

What Visual Studio for .NET 1.0 web development?

Hi, I have a old web application developed in .NET 1.0. How can I do some minor changes in it? What Visual Studio do I need and how do I obtain it? Or can I develop in some other tool? Thanks in advance! ...

Internet explorer 8 blue colored textboxes in my PC

Hello, I use Firefox in daily use. While testing own web-application in Internet Explorer, I've get bug like this(as example facebook.com page): As example I capture facebook.com website. Blue colored textboxes. This issue then I catch in other web-sites. How to fix this problem? I haven't installed any plugin to IE and haven't cust...

need help with choosing book for websites

if i wanna create web sites, is "Head First HTML with CSS & XHTML" a good start? p.s. but my plan is to move to web applications after i get basics of making web sites thanks ...

jQuery Javascript large scale application development

Hi, I have just been asked to describe the architecture for a large scale dashbaord style project that i will be working on. I have bever worked on a application of this size and am a bit lost as to what to say. Could i be pointed in the direction of any articles that may help me get started and hopefully finished. I have gleaned the...

Wrapping a button around a scrolling pane

I have a content pane area that is a list, which slides to another area on click. So second area starts out hidden. I have an image button that I want to "wrap" on the edge of the pane, like the image here. But I can only make it work without having overflow set to hidden. But then of course both panes show at once. Is there a way to do ...

Keep file between http requests

Imagine this simple form for uploading a file: <form action="upload" enctype="multipart/form-data"> <input type="text" name="name"/> <input type="file" name="file"/> <input type="submit"/> </form> If there is some error (can't copy file, name is not correct...) submitting the form, it must return to the same page, but the ...

Javascript unittesting frameworks

Hi all, I am loooking for a javascript unittesing framework and trying to decide if I should go with JSunit or not. My goal is to have the unittests run with my CI, possibly using a JSunit server that is running headless. From people's experience, is this a good idea? Are there better frameworks that you would recommend for my goals, ...

Single developer process/practice/infrastructure recommendations

So, I'm about to embark on a fairly lengthy, time consuming project that could net me some good results/rewards - and I'd like to give everything the attention and focus it deserves. I will be the sole developer, and I'm experienced in that capacity (about 13 years in the industry). I've just never had to be responsible for EVERY choice ...