php-jquery-html-css

2 answers

Jquery add validation function

I have an JS code validation like this : if (theForm.chk_ccd.checked && (! theForm.ccd_pos [0].checked) && (! theForm.ccd_pos [1].checked) && …

12 secs ago
2 answers

ASP.NET MVC - Propagate a server side event to the client

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 …

2 answers

Changing the Date Format in Jquery

In javascript, I'm gettiong the DateTime as 1/05/2013 20:00 (d/mm/yyyy HH:MM) But I want the datetime in this format 01/05/2013 20:00 (dd/mm/yyyy HH:MM)

47 secs ago
0 answers

Transmitting database information from php to javascript - mysql_fetch_array not acting as expected

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. Aim: Query an SQL database via …

0 answers

Why does my query fail when I don't wrap my table and columns with the ` character?

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 ...

1 min ago
0 answers

How to use the bootstrap's scrollspy function with a non bootstrap navbar

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 …

1 min ago
1 answer

CSS working in Firefox but not working in Chrome

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: ...

1 min ago
6 answers

Javascript/jquery not working

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 …

3 answers

Trouble with Javascript mouseover

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 ...

0 answers

Post on facebook page's wall

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 …

2 answers

How to run .hta file from within .html file w/o asking to download it

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- <!DOCTYPE html> ...

3 mins ago
0 answers

Suggestions for graph ui library for showing analytical graph

I want to make analytical graphs of tweets, something like the following website link Website-Link I wanted to know what are the best option available in open source ? I have heard Raphael.js is …

2 answers

HTML is not working in IE10 but in IE7

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 …

4 mins ago
2 answers

PHP: Put frequently encountered simple actions in a methods

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 …

0 answers

Automation server can't create object in IE

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 = …

0 answers

mp3 file upload with phonegap on Windows RT [ Unicode Mappping error ]

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. function ...

6 answers

How do I prevent my div layers from overlapping when the browser is resized?

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 …

6 mins ago
3 answers

how can i search the server for a php session?

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 …

6 mins ago
2 answers

What does this reg exp means in php?

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 …

7 mins ago
1 answer

paginate_links not work in child theme

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' => ...

7 mins ago
1 answer

Facebook kicks me out of facebook

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 ...

9 mins ago
3 answers

Setting Focus to a link using class name with Jquery

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 …

9 mins ago
1 answer

codeigniter/postgres throw errors when trying to insert timestamp

I'm trying to use this code, plus codeigniter to $data = array( // 'category' => $dbi['category'], 'transaction_timestamp' => time(), ); $this->db->insert('bitzon', $data); Error …

11 mins ago
0 answers

centering a div vertically breaks on refresh

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) …

15 mins ago
2 answers

Server Side Validation using PHP script

I have written this code for Form using Server Side Validation in CORE PHP if(empty($s_email)){ $er = "Please enter E-mail"; }else ...

15 mins ago
7 answers

Why shouldn't I use mysql_* functions in PHP?

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 …

16 mins ago
2 answers

How to create dynamic images with links from database in asp.net?

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 …

16 mins ago
3 answers

height in a fluid layout

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 …

2 answers

how to get category name with respect to product id in WP eCommerce plugin

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(); …

18 mins ago
0 answers

X-SendFile - detect if XSendFilePath is set

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 …

19 mins ago
15 30 50 per page
1 2 3