Jump to content

Search the Community

Showing results for tags 'javascript wont relocate'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. I got a modal window which picks some variables from parent window. the user selects more options and then saves. this is supposed to relocate bat alas. the entire code is. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="profile_list.php_files/admin.css" type="text/css"> <link rel="stylesheet" href="profile_list.php_files/jquery_ui_zenphoto.css" type="text/css"> <title>Gallery admin: profile-profile</title> <script src="profile_list.php_files/jquery_003.js" type="text/javascript"></script> <script src="profile_list.php_files/jquery_ui_zenphoto.js" type="text/javascript"></script> <script src="profile_list.php_files/zenphoto.js" type="text/javascript"></script> <script> $(document).ready(function() { //setup new person dialog $('#setuppopup').dialog({ autoOpen: false, modal:true, //draggable: true, //resizable: true, title: "Add Season Profile", width: 600, zIndex: 1, height: 310 }); }); function Cancel() { $("#setuppopup").dialog("close"); return false; } function Save() { launchScripts("test.htm"); } function launchScripts(script, params) { window.location = script+'?'+params.join('&'); return false; } function newMenuSet() { $("#setuppopup").dialog("open"); } </script> </head> <body> <div id="main"> <br clear="all"><!-- needed so the nav sits correctly --> <div id="content"> <h1> </h1> <form action="profile_list.php?fname=Seasons" method="post" name="update" onsubmit="return confirmAction();"> <input id="Button3" type="button" value="Add Season Profile" onclick = "return newMenuSet()" /> <br clear="all"><br> <div class="bordered"> <div class="headline"> <strong>Edit the profile</strong> <select name="sno" style="" id="sno" size="1" onchange="window.location='?sno='+$('#sno').val()+'&fname=Seasons'+'&level_id=2011'"> <option value="417">Westlands</option> <option value="639">Zanzibar Safari Club</option> <option value="757">Zara Tanzania Adventures</option> </select> <select name="level_id" style="" id="level_id" size="1" onchange="window.location='?fname=Seasons&sno=544&level_id='+$('#level_id').val()"> <option value="2013">2013</option> <option value="2011" selected="selected">2011</option> <option value="2009">2009</option> </select> </div> </div> <br> <div class="body"> <div scrollleft="0" scrolltop="0" style="width: auto; min-height: 0px; height: 261.767px;" class="ui-dialog-content ui-widget-content" id="setuppopup"> <div style="z-index: 100; left: 40px; position: absolute; top: 64px">Supplier</div> <select name="snoid" style="left: 112px; position: absolute; top: 65px; z-index: 101;" id="snoid" size="1" onchange="window.location='?sno='+$('#sno').val()+'&fname=Seasons'+'&level_id=2011'"> <option value="417">Westlands</option> <option value="639">Zanzibar Safari Club</option> <option value="757">Zara Tanzania Adventures</option> </select> <div style="z-index: 102; left: 40px; position: absolute; top: 96px">Year</div> <select name="_id" style="left: 112px; position: absolute; top: 93px; z-index: 103;" id="_id" size="1" onchange="window.location='?fname=Seasons&sno=544&level_id='+$('#level_id').val()"> <option value="2013">2013</option> <option value="2012">2012</option> <option value="2011" selected="selected">2011</option> <option value="2009">2009</option> </select> <input id="Button1" value="Cancel" onclick="return Cancel()" style="left: 168px; position: absolute; top: 200px; z-index: 120; width: 56px;" type="button"> <input id="Button2" value="Save" onclick="return Save()" style="left: 115px; position: absolute; top: 200px; z-index: 121; width: 48px;" type="button"> </div> </form> </body> </html>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.