I have an JS code validation like this :
if (theForm.chk_ccd.checked &&
(! theForm.ccd_pos .checked) &&
(! theForm.ccd_pos .checked) &&
In my ASP.NET MVC app, the user clicks a button on the UI to make a phone call. An ajax request goes to the MVC app, which calls a phone dialer -- a method in library that calls an external component …
But I want the datetime in this format 01/05/2013 20:00 (dd/mm/yyyy HH:MM)
I apologise if someone is aware of an available answer to my question, however after a week of looking on the web and trialling stuff I thought I would ask the experts.
Query an SQL database via …
Hopefully, some old sage can shed some light on this one. I'm baffled (easily).
When I prepare my SQL statement as such (using ` on the table and column names, which isn't shown on the output ...
this is my first website without a CMS and I am little lost with jQuery. I'm just trying to activate the elements of my fixed navbar depending on the position where the user is. I am building my site …
I have designed a menu in magento. my menu is working fine in firefox. when I hover on menu in firefox it works well but does not show effects on hover in chrome. My style for hover is like this:
This code works perfectly to do what I want in jsfiddle, but I cannot replicate it when doing it on my local files i.e. index.html, index.css, index.js. Could someone be kind enough to outline how I …
I've been trying to make a div inside a container div visible when the mouse is moved over the container div. Currently the div that needs to be made visible has property display set as none. I've ...
I'm looking to create an addon to my jQuery/PHP site which allows users to share a link to their Facebook page provided by me.
I understand how to initialize the variables in-order to them to work …
I want to run .hta file from within .html file w/o the browser asking to download it.It should run in an iframe in the html page in the browser. The code i am using is this-
I want to make analytical graphs of tweets, something like the following website link
I wanted to know what are the best option available in open source ?
I have heard Raphael.js is …
I have problem with IE10, its not rendering perfectly html in iframe, but works in IE7. in ie10... doesn't seem to have margin applied to paragraph and list.
I use iframe to embed html from another …
I've been reading a lot about writing "high quality" PHP scripts and many people mentioned that it is a good practice to put the frequently encountered simple actions in a methods, such as multiply …
I want export a HTML table into an Excel sheet using IE8 or Outlook.
Because i am working in Dynamics CRM Web-Resource, is nothing but a html page.
When i create ActiveXObject as :
var ExcelApp = …
I Used phogap function for recording audio and uploading audio , file.
Audio File is recording and stored in music folder and i get the path and name of the file by the below function.
I've just spent the last few weeks learning how to properly design a layout. I basically thought I had everything perfect with my website layout and was ready to go about transferring the coding to …
What's the best way to search if a PHP session has been created on the server?
For example, store the name Joe somewhere in a session, and then after Joe closes his browser, can I then lookup (in a …
I found a php function which is used to grab the item title from a webpage, and the reg exp it used is /<div class=\"detail\">(.*?)<p>/si, as in the following code: I knew that /<div …
i am using that code. its show the pagination but when i click on second page its show not found.
$big = 999999999; // need an unlikely integer
echo paginate_links( array(
'base' => ...
i have created an application where user can post specific post to the groups they belong.
user can post images to groups and create albums on there profile. The problem is that when user select ...
Using jQuery I am trying to set focus for (CSS purposes) to a particular link from a list of related links on the load of the page based upon the class name.
Example, of the following I want to set …
I'm trying to use this code, plus codeigniter to
$data = array(
// 'category' => $dbi['category'],
'transaction_timestamp' => time(),
I am centering a div vertically in another div using the following code:
var heightf = $('.cx1').height();
var heightg = $('.cx2').height();
heighth = (heightf - heightg) / 2;
if (heighth > 0) …
I have written this code for Form using Server Side Validation in CORE PHP
$er = "Please enter E-mail";
What are the technical reasons that I shouldn't use mysql_* functions? (like mysql_query(), mysql_connect() or mysql_real_escape_string())?
Why should I move away from them as long as it works on my …
How to dynamically generate the below image tag with links from the database.Number of images should be the number of items in the database.
Can we use listview or repeater to achive this.If yes how …
I'm trying to design a fluid / responsive web design using bootstrap. I'm trying to design the layout so that it'll fit in many devices. My question about setting height to a layout element, such as …
I am using WP eCommerce for displaying products in my website.I want to check the category name of each product displaying in the page.
while (wpsc_have_products()) : wpsc_the_product();
I just started using the XSendFile apache module to serve files. Except for the fact that I cannot know when a download is complete, I guess it's pretty good...
One problem though, I found out that …