-1

I need to pass a variable to a form from Edge Animate. I have the following instruction:

sym.$("form").append('<iframe width="100%" height="100%" src="login_PRA.php?v_id="vidn frameborder="0" scrolling="no"></iframe>');

vidn is a variable but used as I did it has passed as a value so when I need to access the value contained by the variable vidn I just get "vidn". Please can you help me to write correctly instruction?

TylerH
  • 20,799
  • 66
  • 75
  • 101
davide93
  • 1
  • 5

1 Answers1

0

I've found the correct solution and I had already posted it yesterday and I don't know why I can't see it here. the correct solution is:

sym.$("form").append('<iframe width="100%" height="100%" src="login_PRA.php?v_id=' + vidn + '" frameborder="0" scrolling="no"></iframe>');
TylerH
  • 20,799
  • 66
  • 75
  • 101
davide93
  • 1
  • 5