15,113 Topics

Member Avatar for
Member Avatar for borillion

Could someone please explain the line dealing with the array options[] array? I was trying to write it out with document.write(options[0]) but I end up with undefined output. Ultimately I would like to assign the values for width and height into it. [CODE] jQuery(document).ready(function($){ var $anchors=$('a[rel="enlargeimage"]') //look for links with …

Member Avatar for Airshow
0
136
Member Avatar for jpgonc

Hello everyone. This is my first post at daniweb and I hope I can contribute to ellucidate doubts and problems and everybody here could help me out to bail out my "perverse" errors. I am making a website and I am trying to load info from a .XML file into …

Member Avatar for Gerbiler
0
79
Member Avatar for omaiaa0p

Hello everyone, I am really struggling with ajax and was wondering if someone could help me send a string as data by jquery's post method to my servlet. My post does not work, and when I try to receive it from my servlet, the whole thing blows up :( In …

Member Avatar for scrappedcola
0
135
Member Avatar for aksshe10

i am using jquery at client end and use this code to send data [ICODE] $.post( "ajax.php", { Name:'doodle', Fathers_name:'anything' }, function(data){ $('#display').html(data.returnValue); }, "json" ); [/ICODE] the thing is that php $_POST['Name'] does not return anything nor does json_decode($_POST['Name']) but when i send data using the same function but …

Member Avatar for vibhaJ
0
80
Member Avatar for Roymj

Can anyone help me with an ajax script that automatically takes values from a drop down menu and pass it onto another drop down menu.? Both drop down boxes are dynamic.It would be helpful if someone can share a link to a working model of the above. I am using …

0
82
Member Avatar for Dazaa

Hi, I have a lot of checkboxes, for a bunch of illnesses. e.g. Cancer, Epilepsy, AIDS Hepatitus etc. I have put checkboxes in to display a field if one of them is ticked, and the Medical user can make notes on the particular case. But.. I cant hide it again …

Member Avatar for catherine sea
0
159
Member Avatar for youlichika

I had many photos, each photo size is 200 * 150px,each line has four photos,there have 4 lines. When I click one of them, the photo will fadeout with some introduce text, the original array photos will move to the both side of the page.(there should be have a animate …

Member Avatar for Airshow
0
109
Member Avatar for kishou

im just wondering how would i make like a webbrowser in javascript/html? also how would i resize the who entire webpage/webbrowser?

Member Avatar for cobrax
0
99
Member Avatar for JayGeePee

I'm having a little trouble finding any kind of info on how to do what im going to ask. I have a list menu... How would I, or can I with an onclick event display more boxes. Heres what i mean. When someone clicks on cancel account for instance, when …

Member Avatar for Kraai
0
550
Member Avatar for trilithon

Hi All, I urgently need help with a way to view AutoCad (DWG) files online that are uploaded to a webpage. (Similar to the way that [url]http://freewheel.autodesk.com/[/url] works) Thank you Max

0
56
Member Avatar for mini programmer

Hi to all . I write the JS code : [CODE]<?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title>TemperaturE</title> <script type = "text/javascript"> function temperature() { var temperatureValue = myForm.TemperatureField.value; if ( temperatureValue < 20) {document.body.style.backgroundColor = "Blue";} if (temperatureValue <40) {document.body.style.backgroundColor …

Member Avatar for mini programmer
0
111
Member Avatar for soybean

Hey folks! I'm trying to help fix some IE errors. For some reason Gallerific won't initialize for me here in IE7: [url]http://k-ia.com.hk/beta/projects-resdev-delaguna.html[/url] It seems to me that the JS isn't being properly read at all since the CSS styles aren't properly displaying. Any thoughts on how to fix this? The …

0
41
Member Avatar for vishalkhialani

Hi, I am currently deciding in which technology should I put more time in and learn . I have been working with drupal and wordpress since 4 months and I like the platforms. As for the browser side work I am a bit confused whether I should put more time …

Member Avatar for Frankey
0
152
Member Avatar for Frankey

Hi There, I have found a very usefull and lightweight code that is made by the famous Tim Van Damme, a Dutch compatriot. Here is the code, i will explain my question beneath. The js that works in combination with the js libary. [CODE]<script language="javascript" type="text/javascript"> jQuery(document).ready(function($) { $('.tabs').each(function () …

Member Avatar for Frankey
0
204
Member Avatar for omaiaa0p

Hello everyone, I am trying to understand this concept but its truly confusing. I know that javascript is not server side, but I would like to have an effeicient way to retreive a sessions' value, please inform of any methods, I have tried the following <script> var MyClientSideVar = <%= …

Member Avatar for omaiaa0p
0
148
Member Avatar for IT.Coordinator

I'm in dire need of a Script that changes one text to another text. So like say NEWSPAPERS, is [B]Times Roman[/B] with a 18 font and Bold, I would like a Javascript that changes the text that has 'NEWSPAPER' of any font type and size to change it to "NEWSPAPERS" …

Member Avatar for Graphix
0
739
Member Avatar for Puster

Hello, I have innstalled the jquery lightbox to my webiste and how can i set the max h and w? Pleas help me"!

0
36
Member Avatar for winky

Hey everyone, Brand new to javascript and had a, hopefully, quick question. I have pulled a date from our database in the form of mm/dd/yyyy, and would like to convert this to a Date object type. To do this, I have parsed the string to switch it to the following …

Member Avatar for Airshow
0
100
Member Avatar for youlichika

I need a jqeury animate effection. when I click img1.jpg, img2.jpg will animate right 200px, but I have too many divs and other html elements, I tried many times, it also failed. How to write correctly? Thanks. PS: h1, the font is on the top of image, and b class="effect" …

Member Avatar for Airshow
0
138
Member Avatar for Frankey

Hi there, I am busy with a ajax driven application in combination with Wordpress and now i found a great script that will convert every link into a ajaxlink that will call its content to a div. great, and it works! sometimes :( when it outputs urls like [url]www.domain.com/#/information[/url] or …

0
73
Member Avatar for genzoman

I would very much prefer one that works with IE. My current code only allows for an element to become visible, but I would much prefer if it faded in. Thanks in advance, kids! [CODE]<html> <head> <title>title</title> <script language="JavaScript"> function fncShow() { document.getElementById('box1').style.visibility = 'visible'; } function fncHide() { document.getElementById('box').style.visibility …

Member Avatar for genzoman
0
139
Member Avatar for IT.Coordinator

does anyone know how to do this. Hello, I'm in Need of a Script for InDesign Cs3. I'm not new to programming. I know VB, C++ and Assmbler. I'm rather new to Javascript though, and just don't know all the syntex commands. I would like a script that applies a …

0
65
Member Avatar for jaylou

Hi all, I am adding code to a SharePoint 2007 list where I want a calculated field to be a colored square based on a status column. I have all the code I need to create a colored round bullet, but I would like the bullet to be square or …

Member Avatar for jaylou
0
101
Member Avatar for murtazamzk

[B]<html> <head> <title>New Page 11</title> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <script language="JavaScript1.2"> if (document.layers) document.captureEvents(Event.KEYPRESS) function backhome(e){ var targeturl="index.htm" if (document.layers){ if (e.which==104||e.which==72) window.location=targeturl } else if (document.all){ if (event.keyCode==104||event.keyCode==72) window.location=targeturl } } document.onkeypress=backhome </script> </head> <body> <p align="center">Hit The(H) key on your keyboard to send you to a home …

Member Avatar for hielo
0
99
Member Avatar for debashishnit

I am calling the callAjax function in the HTML body as below : <center> <h3>Request Tracking System</h3> <table width="70%" border=0> <tr> <td width=100% valign=top> <table width=100% cellpadding=8 cellspacing=0 class=bord border=0> <th colspan=2> <button type="button" onclick="javascript:callAjax('m');return false;">Requests for me</button> </th> <th colspan=2> <button type="button" onclick="javascript:callAjax('o');return false;">All Requests</button> </th> </table> <br/><br/> <div …

Member Avatar for hielo
0
388
Member Avatar for genzoman

Can someone please tell me why this code isn't working? I'm fiddling around with designing a site and trying to get my JS bearings down. I'm wondering why the second option isn't making the drop down list disappear. Thanks in advance! [CODE]<html> <head> </head> <script language="JavaScript"> function fncShow() { document.getElementById('box').style.visibility …

Member Avatar for genzoman
0
155
Member Avatar for anandhikrishnan

Hi All, My parent window is dash.html. From this i call a pat.jsp file which is a child window to dash.html. I wrote a function in dash.html function feed_refresh(){ getGlaceCompleteDashBoardResult(1); } this function `getGlaceCompleteDashBoardResult(1);` is included in a .js file in dash.html file. Now from the pat.jsp i call the …

Member Avatar for hielo
0
107
Member Avatar for Mylsamy

Hi all, I want to built tristate checkbox using Javascript. There is lot of examples for this problem.. All have processed with Images. But I want to use this with out image. Can anybody help me out of this problem? Thanks, Eagerly waiting Myl

Member Avatar for Airshow
0
174
Member Avatar for ARaza110

Here's the code : whichElement(e) [code]out.println("<li><a onclick='javascript:whichElement(e);menuClicked();selectMenu("+orders.get(i).toString().substring(43)+","+orders.get(i).toString().substring(39,40)+")'>"+orders.get(i).toString().substring(0,37)+"</a></li>");[/code]

0
59
Member Avatar for prathameshz

hi.. i had developed ' [url]http://www.wooadvertising.in/[/url] ' this site using Jquery. when i use the another Jquery it doesn't work.. i am trying to solve this problem but i cant. can anyone solve this problem

Member Avatar for @developer
0
142

The End.