Jump to content


Photo

Verificar Se O Campo Existe


  • Faça o login para participar
12 replies to this topic

#1 hostdesigner

hostdesigner

    Super Veterano

  • Usuários
  • 2910 posts
  • Sexo:Masculino
  • Localidade:Quirinópolis-GO
  • Interesses:Programação, Mulheres, Diversão, Mulheres, Música, Mulheres, Meu Carro, Mais mulheres, Internet, Outras Mulheres, Quase por último PAZ e por ultimo Outras Váááárias Mulheres...

Posted 16/01/2007, 16:04

Existe alguma forma de saber se o campo existe? por exemplo eu tenho uma função em php que dependendo da informação executa uma ação diferente entre estas ações ele cria um campo que pode ter um nome diferente... nem sempre será o mesmo nome e o mesmo tipo de campo.

Então eu preciso saber se o campo "X" existe, eu pensei em fazer algo como
if(getElementById("campo") == true)
mas, isso não funciona sempre dá erro (não foi feito pra ser usado assim :D)

Enfim, alguém faz idéia de como verificar a existencia de um campo?

Falopa!

#2 Luis Otávio

Luis Otávio

    Super Veterano

  • Usuários
  • 3113 posts
  • Sexo:Masculino
  • Localidade:Porto Alegre
  • Interesses:- Desenvolvimento de aplicações Web com linguagem server-side PHP.

    - Desenvolvimento de aplicações Web com linguagem cliente-side JavaScript, conhecedor e utilizador da biblioteca jQUERY e todas suas características.

    - Otimização de Desempenho aplicados a performance de banco de dados Mysql.

    - Otimização de Desempenho para servidores Web utilizando-se como Webserver NGINX em conjunto com Varnish.

    - Sólidos conhecimentos no CMS WordPress para novas implementações, manutenção, criação e otimização de Plugins.

    - Práticas de atendimento, relacionamento e suporte ao cliente. Trabalhando voltado ao público desde o lançamento da empresa iPORTO.COM, criando laços e vínculos com os mais de Mil clientes da empresa e os braços do grupo.

Posted 16/01/2007, 16:10

if( typeof( getElementById("campo") ) != 'undefined' ){

alert('existe');

}
* Otávio Nogueira
* Administração e Configuração de Servidores;
* Combinação Perfeita: NGINX + PHP + VARNISH + HAPROXY
* otavio*iporto.com ~ Tel: +55 51 3366 0177 | +55 51 4063 7343 |
* @iporto

#3 Allan Carvalho

Allan Carvalho

    Òó :: ^^

  • Usuários
  • 471 posts
  • Sexo:Masculino
  • Localidade:Campinas - SP
  • Interesses:Um PC novo e rápido. ^^

Posted 24/01/2007, 00:28

Pelo menos para min retornou erro.

Olha:

if (!document.getElementById("campo")){
alert('não existe');
}


Simples!

Fui!
Nome: Allan V. Ferreira de Carvalho.
Localidade: Campinas - SP
Linguagem de desenvolvimento: XHTML | CSS (Tableless) | JavaScript | AJAX | PHP
Contatos: brkamikasecps@gmail.com | brkamikasecps@hotmail.com

Posted Image


#4 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 13822 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 22/09/2017, 23:30

Viagra France Acheter En Bordeaux generic cialis Nolvadex Achat
Canadian Pharmacy Mail Order Sildenafil
Propecia Come Funziona viagra cialis Where To Buy Amoxicillin

#5 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 13822 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 06/10/2017, 17:59

Generic isotretinoin drugs by money order overseas no rx cialis buy online Online Pharmach Viagra Rezeptfrei
Acheter Cialis Online Viagra Cialis Online Pharmacy Reputable Online Pharmacy Usa viagra online prescription Amoxicillin Age Weight Restrictions Cialis Rezeptfrei Nl

#6 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 13822 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 14/10/2017, 07:54

Cialis Canada Cost viagra online Estrofem 2mg
Candian Pharmacy Omnacortil Amoxicillin A 45 Photo Viagra 100mg Price viagra online prescription Lowest Price For Amitriptyline
Where To Buy Prevacid Solutab cheap cialis Order Propecia From Canada On Line Doxycycline Keflex Tooth Extraction

#7 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 14/10/2017, 14:47

need isotretinoin isotret best website overseas viagra Propecia Diarrea

#8 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 14/10/2017, 17:09

Buy Propecia 84 Blue Force Pills Ed Medication Drugs No Prescription buy cialis Pediatric Dose Of Amoxicillin For Strept Purchase Isotretinoin Price In Internet Cephalexin Dosing Instructions

#9 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 13822 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 31/10/2017, 18:17

Viagra Gibraltar Doxycycline Free Shipping cialis Cephalexin Dogs Pain Priligy De 30 Buy Online Levitra In Usa
Dapoxetine 30mg Viagra Rezeptfrei Kaufen Hannover online pharmacy Rhine Inc India Complaints Viagra 25 Prix En Limoges
Kamagra Oral Jelly Flavours Cephalexin Dose In Dog viagra Kamagranow Generic Amoxicilina Bacterial Infections No Doctor Paris

#10 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 31/10/2017, 21:38

Cialis 5 Indications Kamagra Oral Jelly Western Australia Kamagra Oral Jelly Einnahme non prescription levitra Vente De Viagra En Pharmacie Produit 1

#11 iapedlok

iapedlok

    Expert

  • Usuários
  • 538 posts
  • Sexo:Feminino
  • Localidade:Balaclava

Posted 31/10/2017, 23:16

Discounts! best rated beauty products progect13.jpg Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked! If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included). buy.png READ MORE Knot Gold Plated Cuff Links ( 41.44 $)Baofeng uv-5r walkie talkie professional cb radio baofeng uv5r transceiver 128ch 5w vhf&uhf handheld uv 5r for hunting radio ( 44.80 $)Vintage transparent colored faux crystal pendant alloy necklace for women ( 9.15 $)Men's fashion round neck golden wing print short sleeves t-shirt ( 14.10 $)Brazilian virgin hair with closure 34 bundles with closure brazilian straight hair with closure 7a human hair with closure ( 122.80 $)UMI Super 5.5 inch 2.5D Arc Screen Android 6.0 4G Phablet Helio P10 64bit Octa Core 2.0GHz 13.0MP Rear Camera 4GB RAM 32GB ROM Type-C Accelerometer Compass Fingerprint Scanner HiFi 216.39$Minerva small crossbody ( 288.87 $) FurlaPolkadot woven silk tie ( 40.44 $) ForzieriVS314 LED Projector-81.71 $снятие шкива коленвала змз 4062016 one piece swimsuit brazilian bikini set sexy high waist beachwear plus size swimwear women black bathing suit xxxxl bj214 ( 15.80 $)Futbolnij match Urugvaj â Braziliya (1950)PLus Size 35-44 Led Shoes Glowing 7 Colors LED Men Women Fashion Luminous Led Light UP Shoes for Adults stars shoes ( 41.58 $)Stunning v-neck pure color high waist ball flare dress for women ( 23.82 $)Black Snapshot Saffiano Leather Small Camera Bag ( 160.00 $) 338.jpg
Discounts! on and on products review

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Woman Cornelian Cameo 18K Gold Ring ( 190.00 $)
+как снять шкив коленвала волга 406 мотор
Brazilian full lace human hair wigs with baby hair lace front human hair wigs glueless full lace human hair wigs for black woman ( 102.54 $)
болт затяжка
Game bed fashion multifunctional double layer cradle iron portable bb elysium folding baby bed baby bedding set ( 125.07 $)
New waterproof solar power bank 10000mah dual usb li-polymer solar battery charger travel powerbank for all phone ( 22.50 $)
Deepoon M2 All-in-one VR Headset 3D Virtual Reality Glasses-498.14 $
3.7 - 5V Bluetooth MP3 Decoder Board ( $7.53 )
GP9S LCD Projector Home Theater-72.07 $
супер бердс игра +с выводом денег
Ophir 3x dual action airbrush with air compressor spray gun for cake decoration makeup car model painting_ac090+004a+071+072 ( 110.48 $)
12pcs lot 15cm 12colors set maquiagem waterproof lip liner pencil women s professional long lasting lipliner ( 2.99 $)
100 original vietnam gold tower balm ointment pain relieving patch massage relaxation arthritis essential white tiger ( 5.32 $)
Artos Stark â Game of Thrones
Xianzhuxiu Yoga Five-fingers Socks with Anti-slip Granules ( $2.18 )


1bb.jpg
Discounts! skin care products 2017

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
7 inch wireless video door phone doorbell intercom touch key ir nigh vision waterproof door camera home video intercom system ( 119.37 $)
Original Xiaomi Mi Rabbit Bluetooth 4.0 Wireless Speaker $26.23
Squirrel fashion canvas men's daily travel duffle backpacks for laptop korean style vogue hipster versatile youth school bag ( 31.00 $)
Body wave 3 bundles brazilian virgin hair queen hair products 8a brazilian wavy human hair weave bundle remy brazilian body wave ( 30.00 $)
метки грм змз 405
7a mink brazilian virgin hair body wave 4 bundles brazilian body wave rosa hair products brizilian virgin hair human hair weave ( 40.00 $)
Stylish u-neck sleeveless slimming racerback women's sports bra ( 10.13 $)
5 x Collagen Crystal Eye Mask Eyelid Patch Moisture Crystal Collagen Eye Mask Crystal Eyelid Patch Anti-Wrinkle ( 2.05 $)
Hot sale pu Leather Women Wallets Brand Design High Quality 2016 Cell phone Card Holder Long Lady Wallet Purse Clutch drop ship ( 3.20 $)
Original Smok TFV8 Cloud Beast Tank Atomizer ( 26.80 $)
Xiaoyi YI International Version 1080P Smart Car Dash Camera-74.51 $
Ket Ballu
2016 fashion waist bag packs unisex belt men women travel waist bags bolso cintura great baby ( 3.72 $)
New kerui 120 zone english russianspanish menu touch keypad pstn wireless home secure smoke burglar voice alarm system easy diy ( 119.59 $)
Gold Plated Maritime Republics Button Covers ( 83.20 $)


104.jpg
Discounts! men's hair styling products

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
леомакс интернет магазин каталог товаров акции
16 color available brazilian hair clip in human hair extensions 7pcs full head set rita hair clips aplique tic tac cabelo humano ( 24.88 $)
Large Crystal Stone Ring ( 118.00 $)
Oukitel K6000 Pro 4G Phablet-222.39 $
Mega gem green leather and haircalf sandal ( 438.65 $) Pierre Hardy
7a brazilian lace frontal closure 13x4 body wave ear to ear lace frontal with baby hair virgin human hair full lace frontal ( 43.60 $)
TiaiwaiT Car GPS Navigation Android 7 inch 16GB Bluetooth MT8127 Quad-core navigator russia Navitel Europe map truck gps sat nav ( 97.19 $)
Hot sales! dog boom fruit color pet cat and dog bed promotion 5 colors kennel size m,l ( 15.98 $)
Osment, Hejli Dzhoel
ремонт резиновой обуви
Online electronics store NixStore.ru appliances for home and office
Stunning iridescent retro paisley jacquard tie for men ( 7.02 $)
Book Internet-store Eksmo, AST, bustard Ventana: buy books delivery
играть бесплатно энгри бердз 2
5 in 1 waterproof electric hair clipper kemei professional hair trimmer shaver beard for men waterproof family haircut tool #55 ( 51.12 $)


25bb.jpg
Discounts! electronic product reviews

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Ulefone U007 3G Smartphone-54.99 $
Original Xiaomi Bluetooth 4.1 Voice Remote Controller-22.96 $
battlefield 1943 скачать торрент +на pc механики
High quality football shoes men outdoor professional football training soccer shoes brand leisure series soccer cleats wtm89-2 ( 37.29 $)
Artsu new 2016 womens winter long sleeve pullover jacket sweater coat hooded jumper tops epho80045 ( 9.99 $)
Buldog Drammond (film)
New Fashion Cute Paw Print Earrings for Women Cat and Dog Paw Stud Earrings E124 ( 1.29 $)
Double thin patent leather belt ( 192.58 $) Jil Sander
Brazilian virgin hair 7a unprocessed brazilian curly virgin hair wet and wavy virgin brazilian hair weave 3 bundles jerry curly ( 51.00 $)
Original Xiaomi Piston Earphones - 3rd Generation ( 15.76 $)
Brazilian kinky curly virgin hair bouncy curl 4 bundles cheap curly weave human hair kinky curly brazilian hair weave bundles ( 81.82 $)
LONGING LY - 250 5.8G FPV 2.4G 6 Channel 6 Axis Gyro 0.3MP CAM Racing Quadcopter With 7 inch FPV Monitor 349.99$
Jade Drop Clip-On Earrings ( 178.00 $)
Motorcycle Black Led Rear license Brake Round Tail Light For Harley Chopper Custom Bobber 12v ( 12.85 $)
Kids clothing 2016 Hot summer style Baby Clothing Sets 2PCs suits Round-neck Baby Shirt+Pants Cotton Baby boys girls Tracksuits ( 7.49 $)


122bb.jpg

#12 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 01/11/2017, 05:41

Keflex For Bronchitis cialis What Does Zithromax Look Like

#13 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 13822 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 27/11/2017, 15:11

Zithromax Vs Levaquin Viagra Frau Rezeptfrei Ship Free Viagra Sample levitra and cialis online No Prescretion My Canada Pharmecy Viagra Generico Comprar Purchasing Progesterone Website With Free Shipping
Tadalafil Cheapest Online Best Prices For Viagra On Loine Mejor Que La Viagra online pharmacy Zentel Pills Nashville Cialis Tadalafilo Diflucan Online Order
Buy Propecia Super Active Cialis 20 Mg Order levitra pills for sale Achat Cialis En Belgique Propecia Pas Cher Buy Cheap Doxycycline Online




2 user(s) are reading this topic

0 membro(s), 2 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq