4
Answers

Swap Records Present in textbox

Mann Maurya

Mann Maurya

7y
162
1
Basically I want Swap Records from Textbox to Textbox 
 
Last Textbox  to  first Textbox  and Secondlast Textbox to second Textbox and So on.
 
 
There is no validation to fill the record  in textboxes User can fill record till any no. like 10 ,15,16,23, upto 30.
 
Sorry for the Grammar! 
Please Help! 
Answers (4)
0
Vikram
NA 319 262.4k 14y
Hi yashwant,
  
    Just Define variable in the Markup it consider as Global.

e.g
  
   <script type='text/javascript>
       var Navigateurl="~/block/abc.aspx";
         function pageLoad()
         {
                 //do something
         }

         function otherFunction()
        {
            var newurl = Navigateurl;
        }

</script>
This way you can declare the global variable in the markup.

Hope this will help you.

Regards,
 Vikram