User Profile

Collapse

Profile Sidebar

Collapse
F159753
F159753
Last Activity: Jun 27 '08, 09:21 PM
Joined: Apr 2 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • F159753
    replied to Pop Up Window in JavaScript
    Thank you. It was very useful.
    See more | Go to post

    Leave a comment:


  • F159753
    started a topic Pop Up Window in JavaScript

    Pop Up Window in JavaScript

    Hi ,

    I want to have a help button that by clicking on that a pop up window will be opened to include some texts.

    I have this line on my code:

    Code:
    <p>
     <a href="javascript:popUp('help/help_contractor_email.asp','325','270');"><img src="http://bytes.com/images/btn_help.gif" border="0"></a></p>

    but it is not working!!! Do I need...
    See more | Go to post
    Last edited by gits; Jun 27 '08, 09:13 PM. Reason: added code tags

  • F159753
    replied to Pop up window in ASP
    I put the variable in a Session variable in ASP and it is working perfectly:)

    Thank you so much for your help:)

    Have a nice day.
    See more | Go to post

    Leave a comment:


  • F159753
    replied to Pop up window in ASP
    I put the variable in a Session variable in ASP and it is working perfectly:)

    Thank you so much for your help:)

    Have a nice day.
    See more | Go to post

    Leave a comment:


  • F159753
    replied to Pop up window in ASP
    Perfect, one step ahead:)

    the small window now pops up and asking if I am sure ? but when I click "yes" then it doesnt do anything. here is the function I have for it:
    Code:
     
    <script LANGUAGE="JavaScript">
    <!--
    function confirmDeleteLine()
    {
    var agree=confirm("Are you sure you want to delete this line of Expense?");
    if (agree)
    	{
     
    	window.location="ContractorExpenseEditDeleteItem.asp?EIID="&strExpenseItemID;
    ...
    See more | Go to post

    Leave a comment:


  • F159753
    replied to Pop up window in ASP
    Perfect, one step ahead:)

    the small window now pops up and asking if I am sure ? but when I click "yes" then it doesnt do anything. here is the function I have for it:
    Code:
     
    <script LANGUAGE="JavaScript">
    <!--
    function confirmDeleteLine()
    {
    var agree=confirm("Are you sure you want to delete this line of Expense?");
    if (agree)
    	{
     
    	window.location="ContractorExpenseEditDeleteItem.asp?EIID="&strExpenseItemID;
    ...
    See more | Go to post
    Last edited by DrBunchman; Jun 12 '08, 08:00 AM. Reason: Added code tags - note the # button

    Leave a comment:


  • F159753
    replied to Pop up window in ASP
    how about if I use Javascript? it is not working yet!

    Code:
     
    <script LANGUAGE="JavaScript">
    <!--
    function confirmDelete()
    {
    var agree=confirm("Are you sure you want to delete The Entire Expense?");
    if (agree)
    	return true ;
    else
    	return false ;
    }
     
    -->
    </script>
     
    <input type='submit' value='Delete' onClick=location.href='ContractorExpenseDelete.asp';return
    ...
    See more | Go to post

    Leave a comment:


  • F159753
    replied to Pop up window in ASP
    how about if I use Javascript? it is not working yet!

    Code:
     
    <script LANGUAGE="JavaScript">
    <!--
    function confirmDelete()
    {
    var agree=confirm("Are you sure you want to delete The Entire Expense?");
    if (agree)
    	return true ;
    else
    	return false ;
    }
     
    -->
    </script>
     
    <input type='submit' value='Delete' onClick=location.href='ContractorExpenseDelete.asp';return
    ...
    See more | Go to post
    Last edited by DrBunchman; Jun 12 '08, 08:00 AM. Reason: Added code tags - Please use the # button

    Leave a comment:


  • F159753
    started a topic Pop up window in ASP

    Pop up window in ASP

    Hi,

    I would like to define a function in ASP which poped up a window and asking me if I am sure?
    something like:

    SUB ConfirmDelete()

    ...popup confirmation window

    return (answer)

    END SUB


    Confirmation=Co nfirmDelete()

    AND I don't want to use JavaScript. Do you have any idea how should I do it?

    Regards,
    FF
    See more | Go to post

  • F159753
    started a topic Pop up window in ASP

    Pop up window in ASP

    Hi,

    I would like to define a function in ASP which poped up a window and asking me if I am sure?
    something like:

    SUB ConfirmDelete()

    ...popup confirmation window

    return (answer)

    END SUB


    Confirmation=Co nfirmDelete()

    AND I don't want to use JavaScript. Do you have any idea how should I do it?

    Regards,
    FF
    See more | Go to post

  • F159753
    replied to checking the value of a submit button
    Submit button in JavaScript

    Hi,

    I have the following part in my code in ASP and JavaScript:


    [CODE=html]<script type="text/javascript">

    function displayRow(){
    var ET = document.getEle mentById("Expen seTable");
    var row3 = document.getEle mentById("searc hbutton");

    If row3.value == 'search' {
    if (row2.value ==...
    See more | Go to post
    Last edited by gits; Jun 10 '08, 06:53 AM. Reason: added code tags

    Leave a comment:


  • F159753
    started a topic checking the value of a submit button

    checking the value of a submit button

    I have the following code:

    Code:
     <script type="text/javascript"> 
     
    function displayRow(){ 
    var ET = document.getElementById("ExpenseTable");
    var	row3 = document.getElementById("searchbutton");
     
    If row3.value == 'search' {
    if (row2.value == 'Expenses') {
    		 ET.style.display = '';
    		 }
    }
    </script>
     
     
    <input type="submit"
    ...
    See more | Go to post
    Last edited by DrBunchman; Jun 9 '08, 09:17 PM. Reason: Added code tags - Please use the # button

  • And how should I check in the function(javasc riptcall) if the button have been pressed?...
    See more | Go to post

    Leave a comment:


  • Hi ,

    Thanks for your response.

    my image is :
    <input type="image" src="images/btn_search.gif" height=20 name="searchbut ton" id="searchbutto n" alt="submit" border="0">

    and I want to put an If clause in a Script that check if this button has been pressed or not!

    Do you have any idea how?

    Thanks
    See more | Go to post

    Leave a comment:


  • F159753
    started a topic Is an image button pressed in JavaScript?

    Is an image button pressed in JavaScript?

    Hi,

    I have two text box and an image submit button. how should I know if the button has been pressed in a JavaScript?
    Regards,
    FF
    See more | Go to post

  • F159753
    started a topic Is a submit button pressed in ASP?

    Is a submit button pressed in ASP?

    Hi,

    I have 2 text box and a "search " button.

    I would like to check if the text boxes are empty [U]when the search button has been pressed. How should I do that?

    Regards,
    FF
    See more | Go to post

  • F159753
    replied to Dependent Drop Down Box
    Hello,

    I appreciate your response.

    The section onChange="this. form.submit(); doesn't refresh my form! do I need to write a JavaScirpt function?

    Regards,
    FF
    See more | Go to post

    Leave a comment:


  • F159753
    started a topic Dependent Drop Down Box

    Dependent Drop Down Box

    HI,

    I have 2 drop down box in my form in ASP named DD1 and DD2.

    I would like to choose one option in DD1 and based on what I choosed in that, the second drop down (DD2) would be refreshed and show some special informations in it!

    basically I want to be able to pass whatever I choosed in DD1 to DD2 and based on that, run a special store procedure!

    I have no idea how should I do it! Would...
    See more | Go to post

  • F159753
    replied to String in ASP
    Hi Mark,

    I truly appreciate your help.
    It worked.

    Thank you
    Fay
    See more | Go to post

    Leave a comment:


  • F159753
    started a topic String in ASP

    String in ASP

    Hi,

    How could I find a special character like comma(,) for example in a string in ASp code? Then open an pop up window to show the error message: " The charactor comma(,) is not allowed in this text box!"

    Appreciated
    Fay
    See more | Go to post
No activity results to display
Show More
Working...