If i add the Js Script above This Line <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Then CSS Is not working. Is There is any way to solve this issue
<script type="text/javascript">
<?php $data3 = getmaildata(); ?>
var collection = [<?php echo $data3; ?>...
The code works fine in Firefox, but not in IE8. I'm getting an error: 'address' is null or not an object.
Have been googling for days and couldn't get a clear answer on how to fix/debug this. Hope stackoverflow.com can help.
var latlng = [
{
address: new GLatLng(-6.1364941,106.8000411),
marker0: myIcon0
},
{
address: new GL...
Hi all,
i am using jquery.simplemodal-1.1.1 and jquery-1.2.6.min to create a modal popup.
this is my problem:
i can display the windows, can insert values, fiels, ecc.
i have 2 buttons, save and close. when i click on save button, it triggers an event that execute, from code behind, an store procedure that insert some dates on my db.
...
Hello all, currently I am using Raphael.js to drag and drop a circle around a canvas. However, I would like to disallow the user to drag the circle out of the canvas. My code is generally as follows:
<script type="text/javascript" src="Javascript/raphael.js"></script>
<script type="text/javascript">
window.onload = function(...
do we have isDate in Jquerry?
that returns true if the input is a date else false?
...
I'm building a touchscreen kiosk using Chrome (7.0.536.2 dev) in kiosk
mode on a Windows 7 PC with multi-touch display.
I can see that the ontouchstart event is available (by inspecting the
window object in Webkit Web Inspector) but it never fires. If I write
the following code, the onclick event fires when I touch the screen
but the on...
Hi,
I have a rails server that has a page with canvas tag containing some images and user interface. Some objects inside the canvas have on mouse click events assigned. I wonder if it's possible to execute ajax calls on clicking the item then processing some data inside the ruby on the rails server and comeback to canvas changing some o...
Hi All,
i have a validation problem, where my code is refusing to pick up a textarea.
Error on var "fieldset = field.up("fieldset");" line:
this.showErrorMessageForMissingFields = function (missingFields) {
var missingFieldPlaceHolder = $("missing-fields");
var listOfFields = "";
var fieldsets = {};
for (var i = 0; i...
I like the notification bars used in stackoverflow. I have found a jQuery plugin which makes the notification bar possible with just a few lines, but this plugin does not seem to stack multiple notifications bars when required.
Does anyone know of a better plugin or how to get the plugin below to stack bars as more notifications become...
http://dev.sencha.com/deploy/ext/examples/form/dynamic.html
When i create an link in IE 8.0, it does not open but the same link opens in Mozilla
...
Hi Guys,
i made this code for inserting data to an system mail that know to work with xml file.
the problem is that i try to create some javascript code for getting the current date of day, and then put it inside the filed date, but without success.
i know hot create the date in javascript, my problem is in thx xml file, i mean
how ca...
HTML5 canvas provides lots of flexibility to draw images using javascript. We need to generate javascript code based on inputs from the user (say something like 10 balls of blue color, 5 squares of green color and of a certain size ...). Is there an library which provides appropriate Javascript API(s) so that it is easier to generate the...
I have an object defined using literal notation as follows (example code used). This is in an external script file.
if (RF == null) var RF = {};
RF.Example= {
onDoSomething: function () { alert('Original Definition');} ,
method1 : function(){ RF.Example.onDoSomething(); }
}
In my .aspx page I have the following ..
$(document...
Hi,
I have an Adobe Air Application opening a Window from menu tray. The html content have a javascript code doing alert(window.nativeWindow) on load.
It works fine with an embeded html static file
It do not works with a JSP called file
I have correctly included AIRAliases.js. Is there restriction about nativeWindow ?
My goal is to...
Hi,
Could anyone clarify how the GA actions _gaq.push(['_link', <href>]); and _gaq.push(['_linkByPost', <form>]); work?
I'm not interested on how to use them as presented in the documentation. I understand those scenarios. I want to know more about what they do when called.
Edit:
I suspect how this works but I need some confirmation ...
Hello,
I need to get the hash # value from the current window url with javascript (can't get it with PHP), and then use that to set the value attibute of a form input with CI's set_value() function.
Any ideas how I can grab the value in javascript then put it into the PHP function? :-S
Thanks in advance!
...
I'm working on an application form for a website which implements ASP.NET validation (including client side).
I have a requirement to display a message at the bottom of the page if the client validation fails. Something along the lines of "Please go back and check your answers".
The problem is, the submit button's OnClientClick event o...
Hi.
I have a fluid layout and i need a textarea to expand/reduce depending of the size of the parent container.
In CSS it would look like this:
textarea{
width: 100%;
}
But this doesn´t work with textareas.
How can I do this with javascript? I can get the parent element width and them calculate the number of cols to fit that width b...
I've got a problem which you can look at here http://jsfiddle.net/dng2P/4/
If you click the detail button it shows you information and then if you click the "Points Statement" button it slides a layer down.
My problem is that I'm trying to make the main booking details div the same height as the points div if it's bigger and then when ...
<html>
<head>
<title>so-wmp</title>
<script>
onload=function() {
player = document.getElementById("wmp");
player.URL = "test.mp3";
};
function add(text) {
document.body
.appendChild(document.createElement("div"))
.appendChild(document.createTextNode(text));
};
fun...