/g/ - Technology

0/4000

BharatChan Disclaimer

Notice

Before proceeding, please read and understand the following:

1. BharatChan is a user-generated content platform. The site owners do not claim responsibility for posts made by users.

2. By accessing this website, you acknowledge that content may not be suitable for all audiences.

3. You must follow BharatChan’s community guidelines and rules. Failure to do so may result in a ban.

4. By using BharatChan users agree to the use of cookies, mostly for session related to user.

A poster on BharatChan must abide by the following rules:

Sitewide Rules
You must be 18 or older to post.
Sharing personal details or engaging in doxing is strictly prohibited.
Political discussions should be confined to /pol/.
NSFW content is only allowed in /kama/.
Off-topic discussions, thread derailment, or spam may result in a ban and IP blacklist.
Pornographic content is strictly prohibited.
Any activity violating local laws is not allowed.
Acknowledge

Recent Posts

Rust

View

View

आर्च लिनक्स को कैसे इंस्टॉल करें?

View

View

View

Torrent links general

View

how to ddos a site?

View

Machine learning with C±+

View

Kalej doesnt want me to do shit.

View

Making a community of people who want to code and ...

View

View

/AI/premiums

View

Every software is open source of you know assembly

View

sharing doxxing/hacking tutorial

View

It's over

View

No Innova-ck

View

archive.today prolly getting attacked by glowies

View

why jeets dont seed ?

View

making a glow-proof smartphone

View

View

alternative frontends

View

Privacy Tools

View

Techsappot jara idhar aana

View

Bangladesh: Govt officials, student ‘activists’ ho...

View

phone under 20k

View

Privacy tools thread

View

2025 telephone suggestion

View

Chinese are absolutely dominating AI

View

Get in here b-bros

View

Bharatchan runs on awa or azure?

View

View

Spyware

View

WebDev general

View

View

new feature request Dayush pls read

View

View

View

The Chad programming language

View

THIS BOARD IS SOO SMUG

View

Sketch - A simple 2D graphics library in C

View

View

View

/torrent/

View

Post setup pics

View

How to learn Computer Science by yourself?

View

View

View

pajeetware

View

I had a dream

View

rugged phones

View

WebDev general

Anonymous

IN

51OZdE

No.316

Making this thread for webDev, post anything related to it, whether queries or something new or any help related to programming, even though there are discord servers but sometimes you dont get good enough response to your problem, so i am making a thread here as i am personally learning it. Currently, i am using odin project to learn it and i am on calculator project in foundations.

Anonymous

IN

51OZdE

No.317

Right now i am having a problem, i am trying to access content of an HTML element and then store it inside another element and display it, for that i am using innerText property but in autosuggestions it isnt displaying it, i thought it is because i am trying to access it inside an eventlistener but i also tried it in global scope and problem still remains.

Anonymous

IN

51OZdE

No.319

>>318

Dont shit up on my thread dirty , not everything can be solved by chatgpt. i have already tried it.

Dyaush

ROJR

XKQfIH

No.321

>>317

use appendChild()

Dyaush

ROJR

XKQfIH

No.322

>>321

Though that's in case you are creating another element dynamically.

You can access content through either textContent or value depending on the element. Value or textContent can be used to update the values.

Validate the target element to ensure it exists.

Anonymous

IN

nYAfi4

No.323

>>321

you didnt understand my problem it seems, i am talking about this, in suggestion list many keywords doesnt appear, i had to use {once: true} and in that once didnt appear, i type it whole but after that it started appearing, it happened same for innertText, textcontent.

Dyaush

ROJR

XKQfIH

No.324

If you have any code snippet, share it by using markdown as pic related

statements

Anonymous

IN

nYAfi4

No.325

>>323

like here innerText isnt appearing.

Dyaush

ROJR

XKQfIH

No.326

>>323

aah mb, try pic related extension if you aren't using already.

If you want to read about DOM manipulation go through js.info https://javascript.info/ DOM section (browser)

MDN has a quick read for the same https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Scripting/DOM_scripting

Anonymous

IN

nYAfi4

No.327

>>326

okey, thanks

Dyaush

ROJR

XKQfIH

No.328

>>325

Auto suggestions there won't work cuz, suggestions are based on the associated objects.