Hello,
I am new to perl cgi.
i want to know what happens when we include
use CGI;
in the perl script
User Profile
Collapse
-
attach events to dynamically created elements
Hello,
I am able to attach event to dynamically created element.as shown below.
[code=javascript]
for(var i=0;i<10;i++)
{for(var j=0;j<15;j++)
{
var div=document.cr eateElement('di v');
div.setAttribut e("name","div"+ i+j);
div.setAttribut e("id","div"+i+ j);
var r=i;var c=j;
div.attachEvent ("onclick",func tion(){... -
grid like appearance not for data display
Hello,
I'm in need of a grid that is displayed on an image to select a perticular area of the image.
Suppose i have a image over that image i wanna display a grid . and once i click and drag the mouse over specific area on image i want the grid cells in that area to be selected.
Please tell me if it can be done using css -
Images in fastcgi
Hello,
I'm having a problen where the images in the fastcgi file are not getting displayed when i open it in the browser. please help me -
yes have got it from the link
http://www.walterzorn. com/dragdrop/dragdrop_e.htm
i am able to restrict it to x-axis but the image is portable from left end of browser to the reight end, which is not the requirement. I want to move the imege in some region of the browser like in a div.
and also the events are disabled on the image like onclick , onmouseoner etc, which i need for some other purposes as well
thanks... -
Suppose i've several horizontal lines 1,2,3. and i've an image of vertical line with arrows at the two ends, which is placed such that its edges touch the 1st and 3rd line with second line at centre.suppose width of the horizontal lines is 500px. i want the vertical line image to be scrolled across the horizontal lines. and get a perticular info that the horizontal lines are representing at that pint.
i just want to be able to scroll the...Leave a comment:
-
image dragging across x-axis
Hello,
I want to drag an image across the x-axis
Please can some one tel me what event to approach .
thanks -
-
load a page in different frame using href in anchor tag
Hello,
I'm loading a frame from another frame using anchor tag.
the code is as folllows.
[code=javascript]
function change_page
{
if(document.for m.txtbx1.value= ="all")
{
document.getEle mentById('a_lin k').target="rig ht_bottom";
document.getEle mentById('a_lin k').href="resul ts.html";
}else
{
... -
Call function only when page first opened, not on subsequent refreshing
Hello,
i want to know if i can call a function in javascript only when the first time page is opened not on frequent refreshing...
please tel me. -
Checking support of font family
Hello,
Is it possible to check whether a certain type of font is supported by the system by using javascript?
if its possible please tel me how to do it. -
Thanks for suggestion. but that is not according to the requirement.
I got the solution. i tried to fetch the date. and stored it in dd,mm and yy variables dor date, month and year. and depending on dd/mm/yyyy or mm/dd/yyyy i positioned them accordingly.
Thanks alotLeave a comment:
-
dd/mm/yy,mm/dd/yy,yy/mm/dd
Hello,
i've a requirement where i want to change the entered date format based on the selection of whether mm/dd/yy , dd/mm/yy or yy/mm/dd
Please give me some idea on how to do this using javascript
thanks alot -
Thousand thanks are less for the immense help you have lent to me.
Its working perfectly.
Thanks alotLeave a comment:
-
i'm stuck at this point itself.
i'm able to fetch the value in button using
Code:<script lang=javascript> var sel= document.frm.btn_id.value </script>
is the way i'm including the value right or its differentLeave a comment:
-
Deselecting a radio button
Hi all
I've a radio button which i want to select or deselect but i'm not able to deselct it once i select.
the code is as follows
[code=html]
<input name="rd1" id="rd1" type="radio" onchange="selec t('rd1')" />
[/code]
at onchange event i'm calling a javascript function to deselect if its alrady selected... -
Hello i'm able to fetch the value of the selected dropdown box from the dropdown and save it in a 'temporary variable'(like assigning it to a hidden button value) in the submenu frame. now i'm calling another page from submenu using href="page2"
during this call i want to pass the selected index value stored in temporary variable.
how do i do this in href="page2.htm l?"
What do i need to include...Leave a comment:
-
there are three frames.
frame1 - mainmenu
frame2- submenu
frame3-display pages based on submenu
The dropdown is in all the pages that i'm displaying in frame3 by using submenu.the selections are
[CODE=html]<select id="ddbx" class="textBlac kMedium" style="width: 87px" name="ddbx" onchange="switc h">
<option>OP 1</option>...Leave a comment:
-
passing the selected value of dropdown box to the next html page
Hello,
I want to pass the selected value of dropdown list to next page based on the selction of a menu in the same frameset
Please help me outLeave a comment:
-
passing values between html pages by using frames
Hello folks
. I want to know another type of passing values between pages
I have three frames
frame1 for main horizontal menu
frame 2 for vertical submenu
frame 3 which is is loaded based on frame 2 submenu seletion
now i want to have value to be passed between the pages on frame3 based on submenu selection in frame 2
...Leave a comment:
No activity results to display
Show More
Leave a comment: