Advertisement

10.06.2005 at 07:42AM PDT, ID: 21585972
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

Passing url values with dynamic table

Asked by rockmansattic in JavaScript

Tags: ,

Ok, heres another one.

I (with help here at EE) have got a dynamic table row that adds a row when a link is clicked.(WORKS)
Within one of those 'new' cells, I am calling a javascript funcrion to open a new window ANd passing a PHP variable. (WORKS)

Here the trick, from the popup window other opbjects are selected and pased BACK to teh opener.  
THIS works If an I pass the initial variable in hard code like this:

td2.appendChild(input1);
      var tlink= document.createElement("a")
      tlink.href='javascript:popUpWindow(\'get_room.php?formid=5\',200,200,500,250)';
      tlink.appendChild(document.createTextNode("Get Room"));
      td2.appendChild(tlink);

Everything Seems to work when passed dynamically but the 'new' window doesnt send the new variable back to the opener when I do this:

td2.appendChild(input1);
      var tlink= document.createElement("a")
      tlink.href='javascript:popUpWindow(\'get_room.php?formid='+id+'\',200,200,500,250)';
      tlink.appendChild(document.createTextNode("Get Room"));
      td2.appendChild(tlink);

*****************
Code from the 'new' window that sends values back
   <script language="Javascript" >
function sendValue(s){

            window.opener.document.form1.roomid<?php echo $_GET['formid'];?>.value =  s;
            window.close();
}
//  End -->
</script>

BTW, everything looks good on both pages soursce code, But is there a reason for the addition of the passing a dynaimc varialbe to an opener change the use?

thanks
Rockman
Start Free Trial
[+][-]10.06.2005 at 08:20AM PDT, ID: 15031319

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 10:31AM PDT, ID: 15032530

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 10:51AM PDT, ID: 15032681

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 10:57AM PDT, ID: 15032736

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 10:59AM PDT, ID: 15032745

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 11:22AM PDT, ID: 15032935

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 12:29PM PDT, ID: 15033575

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 01:02PM PDT, ID: 15033898

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 01:07PM PDT, ID: 15033937

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 02:00PM PDT, ID: 15034389

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 02:00PM PDT, ID: 15034392

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 02:04PM PDT, ID: 15034430

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.06.2005 at 07:58PM PDT, ID: 15035842

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: JavaScript
Tags: javascript, url
Sign Up Now!
Solution Provided By: dbritt
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10.07.2005 at 07:45AM PDT, ID: 15039050

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.10.2005 at 09:23AM PDT, ID: 15053330

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32