Search Results

Showing results 1 to 14 of 14
Search took 0.00 seconds.
Search: Posts Made By: sasankasekhar ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX Nov 22nd, 2008
Replies: 2
Views: 1,021
Posted By sasankasekhar
Its difficult to figure out the problem without viewing the code of the while form.
Just a guess:
May be in the your fields have been assigned value after the form reset.
for example
$insert_sql...
Forum: JavaScript / DHTML / AJAX Nov 22nd, 2008
Replies: 5
Views: 1,938
Posted By sasankasekhar
This would help:

function addArr(){
var arr1 = [1,2,3,4];
var arr2 = [5,6,7,8];
arr3=arr1;//or u can use arr1 itself;
for(i=arr1.length,j=0;j<arr2.length;i++){
arr3[i]=arr2[j];
j++;...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 15
Views: 4,718
Posted By sasankasekhar
Sure,
you can do that. Use expressions in your css.

Example:

img{
display:expression((this.height<=300)?'block':'none');
}

Hope this solves your problem.
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 2
Views: 1,201
Posted By sasankasekhar
"cb is undefined"

Your problem is document.getres.checkbox is not giving you a list of checkboxes.
Instead I suggest you to loop through the rows of of the <Table> where you have placed your...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 3
Views: 1,100
Posted By sasankasekhar
You have assigned the value "2" to variable input...
if (input == 1 || input = 2)

you should have only checked it
if (input == 1 || input == 2)
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 3
Views: 570
Posted By sasankasekhar
Try This:
if(window.document.readyState=='complete'){
// call your image slide show functions ....
}

Regards ...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 3
Views: 570
Posted By sasankasekhar
Try this:

you can check whether your page is loaded completely using this:

window.document.readyState
if(window.document.readyState=='Complete') {
//start image preloaders ....
}
...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 1
Views: 881
Posted By sasankasekhar
Try this:
document.getElementById('txt').attributes['required'].value;
Regards...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 3
Views: 1,263
Posted By sasankasekhar
First thing, please remove keyword this. There is no need to use this.n ....
Rest is fine and I hope you will be able to solve it yourself. Still if you could not develop the function ... please...
Forum: JavaScript / DHTML / AJAX Nov 11th, 2008
Replies: 1
Views: 2,781
Posted By sasankasekhar
I hope this should solve your problem:

<script language="JavaScript">
function changeCSS(){
frame = window.document.frames[0];
frame.document.getElementById("myDiv").style.background="red";//OR...
Forum: JavaScript / DHTML / AJAX Nov 11th, 2008
Replies: 2
Views: 2,347
Posted By sasankasekhar
<script language="JavaScript">
function test(){
var listOfChildNodes = document.getElementById('IDofTheDiv').childNodes;
var numberOfChildNodes = listOfChildNodes.length;
var str="";...
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008
Replies: 3
Views: 3,300
Posted By sasankasekhar
Well, to post Data from one window to another we shall have to take the help of <iframe> (this is what I feel comfortable with).
The solution below may not be exactly what you wanted/ needed ... I...
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008
Replies: 1
Views: 1,325
Posted By sasankasekhar
var texture=document.getElementById('texture').value;
formdiv.innerHTML = formdiv.innerHTML +'<td align=center>' + texture + '</td>';


Hope this Helps.
Regards
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008
Replies: 3
Views: 3,300
Posted By sasankasekhar
Just to be clear: Do you want to post your data from the current form to add.php?

if the answer is YES, try this:
-------------------------------------------------------------------------------...
Showing results 1 to 14 of 14

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC