web-development

Can jQuery select elements with IDs that start similarly?

I have multiple comment ids I want to reset to a default value. Ex: <a id="comments_inner_toggle_45">example 1</a> <a id="comments_inner_toggle_608">example 2</a> <a id="comments_inner_toggle_28">example 3</a> ... How can I write the correct tag in jQuery to select every tag with an id of "comments_inner_toggle_" and perform some ope...

Facebook connect for mobile web

Hi All, I want to create an application for facebook such that when in some wap enabled handset if i do something like this http://testhost.com/abc.php?status="someone helped me finally :)" it opens fb login page and allow access page and update the status that was sent as parameter. how should i proceed with it i have download fbcon...

index.html vs default.html

I've used both index.html and default.html in the past for home pages on sites I've built. These days I mostly use index.html, but I'm not sure why... consistency I suppose. I'm pretty sure IIS handle them the same, but I am wondering, though, if there's any benefit or pitfall in using one over the other, or are they treated the same in...

XMLhttpRequest > PHP > XMLhttpRequest

Hi guys, I have another question. XMLhttpRequests haunt me. Everything is now in the database but I need this data to update my page on firt page load or reload. The XHR is triggered in JavaScript file which triggers PHP-Script. PHP-Script access MySQL database. But how do I get the fetched records back into my JavaScript for page updat...

Can CFHEADER values be read by other code?

The code <cfheader name="Test" value="1"> <cfheader name="Test" value="2"> results in the header "Test: 2" being sent to the browser (as seen using HttpFox). Is there a way for the second line of code to determine if a header with the same name has already been written using CFHEADER? Thanks! ...

[php] input forms

how can i be sure that someone can not use a form that accepts input on my site to execute code that performs some hack actions? tnx in adv! ...

Blackberry web application wrapping floating divs on top of each other

Our site http://m.sa2010.gov.za has a simple menu structure that relies on floating divs to stack 2 columns of menu elements. Unfortunately it seems to wrap all elements on top of each other when viewed from most Blackberry phones? Any suggestions. works beautifully on most mobile devices including iPhone. Check it out. ...

Suggested improvements?

Hello, I have been coding a site in pure HTML/CSS - using no server-side language. I was wondering if anyone had any feedback - is there anything that you would change etc...? Many Thanks, J View Site ...

iphone web based app - back button causing undesired behavior

i have a set of web pages specifically designed to run on iPhones (using iUI for look). My problem is the back button. I have custom back navigation in my pages that act as i wish (i.e. one of those websites that say 'please do not use your browsers back buttons'. but id like to not do that if i don't have to). if the user hits the back ...

Best IDE for debugging and Code Completion in CakePHP

Hi, I am new to CakePHP framework. Does anybody have any experience with a free IDE for Uuntu which can perform code completion and most importantly ability to debug CakePHP code? Any responses would be greatly appreciated. Thanks ...

How do you populate a DIV with URL from another domain?

Hi. I know it's not possible on the client to fill a DIV with content from another domain. However, I've used the Google Feeds code and it's pulling information from other domains into a DIV (no iframe) without resorting to server-side code, so I'm assuming somehow it's doable. Thanks. ...

What do the crossed style properties in Google Chrome devtools mean?

While inspecting an element using Chrome's devtools, in the elements tab, the right-hand side 'Styles' bar shows the corresponding CSS properties. At times, some of these properties are strike-throughed. What do these properties mean? ...

FIFA official website design and development

Hi, I'm just curious about design and development of official FIFA website. What is the programming language being used to build the site? What is the development methodology they are using? I used Firebug to look around the site.Here's sth I found: HTTP/1.1 200 OK Cache-Control: no-store, no-cache, must-revalidate, private Conten...

Patterns for avoiding jQuery silent fails

Is there any good practice to avoid your jQuery code silently fail? For example: $('.this #is:my(complexSelector)').doSomething(); I know that every time this line get executed, the selector is intended to match at least one element, or certain amount of elements. Is there any standard or good way to validate that? I thought about...

Admin auto generation

Hi, I create custom CMS sites and then go ahead for the backend/admin side. Is there any tool out there to automatically create admin side of my sites, for example, based on table relationships or whatever customization we may put in place. PHPMaker seems to claim something like what i ask for but i have not used it. Any tool out there...

if we are providing a seperate "printer friendly page" for each page of site then do we need to use print media css in site?

if we are providing a seperate "printer friendly page" for each page of site then do we need to use print media css in site? only screen css is enough in this case? ...

How to get expected url

I have developed a website, using Twitter API. Now a little but important problem I am facing is expected URL. There will be users on my site who are going to get details with their user name. My site url right now is : www.mysite.com/ It also works on : www.mysite.com/home.php and : www.mysite.com/FinalShow01.php Now what I want is us...

How do I send an email from my webpage?

I am not a web developer but I do have a lot of programming experience in C# and Windows forms programming. On our company webpage my boss wants me to put in a textbox where visitors can submit a comment and press a submit button and that comment will be sent to an email address. Right now, our website uses just plain old html, no php or...

Any good advice on marketing websites?

I'm creating a full e-commerce enabled website, and I'm responsible for marketing it also. Looking for any information on good marketing techniques! ...

IIS 7 Can't read data from ASP.Net application services tables

Hi, I'm working on deploying a web application written in C# with ASP.Net Application services databases. The application runs fine on the development machine. Windows Server 2003 has been built to test the application. The database has been scripted across using MS SQL Server GUI. ASP.Net application services tables were created u...