473,807 Members | 2,853 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

buscar y mostrar div segun datos de entrada

hola grupo, quisiera plantearles un problema que tengo, espero me
puedan ayudar:
tengo 10 etiquetas DIV cada una tiene un contenido de texto
especifico, listas, etc. al cargar la pagina estan ocultas, lo que
quiero es que se muestren cuando el usuario busca algo especifico de
un menu SELECT incluso si ingresa un termino especifico en un campo
TEXT y clickea BUSCAR, que se muestre la DIV donde se encuentra el
termino ingresado que muestre toda la DIV donde esta el termino NO
solo el contenido que buscan; y si se modifica la busqueda que oculte
la DIV actual y que muestre la DIV nueva encontrada con todo su
contenido, es algo asi como un buscador interno, pero he tratado de
hacerlo asi y no se oculta la DIV actual sino que se van acumulando, y
lo que quiero es que se remplacen, lo hago con el ID de cada DIV. no
se si fui especifico espero encontrar respuesta, gracias grupo, espero
me puedan ayudar les agradesco de antemano.
Recuerden el "ser sencillo" es el encubrimiento de lo que somos
mediante el cultivo de un ideal.
Jun 27 '08 #1
1 3210
On May 29, 1:28*pm, LuisDavid <luisdavi...@gm ail.comwrote:
hola grupo, quisiera plantearles un problema que tengo, espero me
puedan ayudar:
tengo 10 etiquetas DIV cada una tiene un contenido de texto
especifico, listas, etc. al cargar la pagina estan ocultas, lo que
quiero es que se muestren cuando el usuario busca algo especifico de
un menu SELECT incluso si ingresa un termino especifico en un campo
TEXT y clickea BUSCAR, que se muestre la DIV donde se encuentra el
termino ingresado que muestre toda la DIV donde esta el termino NO
solo el contenido que buscan; y si se modifica la busqueda que oculte
la DIV actual y que muestre la DIV nueva encontrada con todo su
contenido, es algo asi como un buscador interno, pero he tratado de
hacerlo asi y no se oculta la DIV actual sino que se van acumulando, y
lo que quiero es que se remplacen, lo hago con el ID de cada DIV. no
se si fui especifico espero encontrar respuesta, gracias grupo, espero
me puedan ayudar les agradesco de antemano.
Recuerden el "ser sencillo" es el encubrimiento de lo que somos
mediante el cultivo de un ideal.
http://docs.jquery.com/Selectors/selected

Mucho de lo que quieres lograr se pueden hacer de forma sencilla con
jquery.

Seria bueno que incluyas el codigo en ves de describir la situacion
tan detalladamente.
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3478
by: Jorge Gallardo | last post by:
Hola a todos.. Vereis tengo un problemilla. necesito transferir de una tabla unos datos a texto, hasta aqui todo bien. Pero uno de los campos de esa tabla contine numeros, que pueden ser 1, 10, 15, 37, 120. Bueno para exportarlo no tengo problemas, pero necesito que ese campo a exportar contenga 3 caracteres. Me explico, si el numero es 1, necesito que exporte 001, si el numero es 15, necesito que exporte 015, y si es 120, pues nada. No...
3
2069
by: David | last post by:
Hola, Estoy construyendo un keylogger que usa globalhook (con apis), el problema es que no todos los teclados son iguales, por ejemplo los de alfabetizacion española en lugar de ";" tienen la "ñ" y para acceder al ";" hay que presionar SHIFT + ",". Quiero capturar el caracter final que se tiene que mostrar, hay alguna forma de hacerlo? Alguna funcion API? Gracias
0
1133
by: Edison | last post by:
How shows information in format RTF with ASPNET from a DataBase??? Thanks. Is urgent
1
3225
by: jb | last post by:
Buenas, Conoceis algun control para asp.net 2.0 (si es gratis mejor, sino tampoco pasa nada) que permita buscar texto dentro de PDF's de forma rapida? (para un search engine) Gracias! Jesús Bosch Aiguadé
2
2744
by: vntapia | last post by:
No puedo levantar una base de datos en db2 v7.2 sobre aix 4.3.3, esta base tiene dañados unos indices, deseo entrar a la base en mode de mantenimiento o administrativo para poder borrar los inidices dañados y a asi levantar la base.
1
3088
by: Vitrium | last post by:
Hola tengo el siguiente problema , me da error en un consulta que en el sql de acces funciona correctamente pero bajo ADOCE 3.1 no. Utilizo la libreria inthehand version 1.2 ya que necesito manejar bases de datos cbd en un pda. el codigo es el siguiente.Me da error en el propio open.LA CONSULTA EN ACCES FUNCIONA CORRECTAMENTE.... rsBusqueda = New InTheHand.AdoceNet.Recordset
0
2258
by: librosur08 | last post by:
Como obtener datos del gestor de correos predeterminado y el puerto SMTP Tengo una aplicación que envía por correo una tabla convertida en archivo de texto de delimitación fija y me gustaría que el programa enviara dicho correo de manera automática. Es decir que el usuario no intervenga para nada en el proceso, más que lo que debe hacer, presionar un botón de comando, y el correo sea enviado en un segundo plano (creo que así se dice)...
0
9720
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10626
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10112
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.