A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match_all(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 690

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 690
Function: preg_match_all

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 508
Function: parse_selector

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1223
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1086
Function: parse_charset

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/simple_html_dom.php

Line Number: 697

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 697
Function: _error_handler

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 508
Function: parse_selector

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1223
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1086
Function: parse_charset

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 62
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match_all(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 690

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 690
Function: preg_match_all

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 508
Function: parse_selector

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1129
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 63
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

How to set attribute values using jQuery | tutorialsmint.com

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 1385

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1385
Function: preg_match

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1189
Function: read_tag

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1083
Function: parse

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match_all(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 690

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 690
Function: preg_match_all

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 508
Function: parse_selector

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1223
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1086
Function: parse_charset

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/simple_html_dom.php

Line Number: 697

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 697
Function: _error_handler

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 508
Function: parse_selector

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1223
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1086
Function: parse_charset

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 97
Function: load

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 7
Function: str_get_html

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match_all(): Compilation failed: invalid range in character class at offset 4

Filename: controllers/simple_html_dom.php

Line Number: 690

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 690
Function: preg_match_all

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 508
Function: parse_selector

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1129
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 8
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/simple_html_dom.php

Line Number: 697

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 697
Function: _error_handler

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 508
Function: parse_selector

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1129
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/questions_view.php
Line: 8
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/views/pages/template.php
Line: 4
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 53
Function: view

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once

In this tutorial, you will learn how to set the attribute values using jQuery. To set the attribute using jQuery use attr() method. By using the attr() method we can also get the value of any attribute in jQuery. Suppose if you want to set the title of any div dynamically that time we can use attr() to set the title.
Let us understand the attr() method using an example.

Click on the Live Demo button to see the output.

Example:  In this example, we are setting the new title to the div element using the attr() method. Hover the mouse to see the new title.

<html lang="en">
    <head>
        <title>Live Demo: How to set attribute values using jQuery</title>
    </head>
    <body>
        <div id="div_title" title="This is old title.">Set the title using jQuery attr() method. Hover the mouse to see the new title.</div> 
        <br/>
        <button id="set_title">Set the title</button>
        <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>        
        <script>
            $(document).ready(function () {
                $("#set_title").click(function () {
                    $("#div_title").attr("title", "This is new title.");
                });
            });
        </script>
    </body>
</html>

Written by
Check out this Author's contributed articles.
If you like Tutorialsmint and would like to contribute, you can also write an article using Write an Article. See your article appearing on the Tutorialsmint main page and help other programmers to enhance their knowledge.

Comments(0)

RECENT TUTORIALS
Wed Dec 26 • 08:00 AM GMT
Wed Dec 26 • 08:00 AM GMT
Wed Dec 26 • 08:00 AM GMT
Wed Dec 26 • 08:00 AM GMT
Edit Post
Add Reply

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/simple_html_dom.php

Line Number: 697

Backtrace:

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 697
Function: _error_handler

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 508
Function: parse_selector

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/simple_html_dom.php
Line: 1129
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 63
Function: find

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/application/controllers/Tutorial.php
Line: 50
Function: _get_meta_view_details

File: /home/i8bcism1o3mh/public_html/tutorialsmint.com/index.php
Line: 315
Function: require_once