Completed

Função em Javascript

Published on the April 13, 2016 in IT & Programming

About this project

Open

Olá,

Precisamos criar uma função em javascript que quebre a querystring do site em variaveis, depois monte uma variavel só no formato que queremos, e some-se a um link no HTML.

Vejam o exemplo:

sitedeorigem.com.br/?v1=1&v2=2&v3=3&v4=4

A função deve quebrar as variaveis da seguinte forma:

v1=1
v2=2
v3=3
v4=4

E então, deve montar a seguinte estrutura variavel:

nova_var = 'cmd=v2|v3=v3|v4=4

window.open ( http://site.nossosite.com.br/?controle=Atendimento&acao=index&produto=1&referencia=crs=(direct)|+nova_var  )

Esse é um exemplo do que a função vai fazer.

Abraços,

Category IT & Programming
Subcategory Web development
Is this a project or a position? Project
I currently have Not applicable
Required availability As needed
Experience in this type of projects Yes (I have managed this kind of project before)
Roles needed Developer

Delivery term: Not specified

Skills needed

Other projects posted by R. B.