Click here to Skip to main content
14,383,961 members

JavaScript

 
GeneralRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
phil.o6-Oct-19 22:39
mvephil.o6-Oct-19 22:39 
SuggestionRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
ZurdoDev7-Oct-19 1:56
professionalZurdoDev7-Oct-19 1:56 
QuestionDouble check if array.find result is not undefined and cancel exception, replace with "" Pin
jkirkerx2-Oct-19 11:33
professionaljkirkerx2-Oct-19 11:33 
AnswerRe: Double check if array.find result is not undefined and cancel exception, replace with "" Pin
jkirkerx2-Oct-19 11:40
professionaljkirkerx2-Oct-19 11:40 
QuestionNot sure where my mistake is. . . I want the two texts to turn blue and yellow. Pin
mattkrebs30-Sep-19 9:38
membermattkrebs30-Sep-19 9:38 
AnswerRe: Not sure where my mistake is. . . I want the two texts to turn blue and yellow. Pin
Nathan Minier30-Sep-19 10:17
professionalNathan Minier30-Sep-19 10:17 
AnswerRe: Not sure where my mistake is. . . I want the two texts to turn blue and yellow. Pin
Richard Deeming30-Sep-19 11:05
mveRichard Deeming30-Sep-19 11:05 
QuestionImporting css classes into React Component Pin
simpledeveloper26-Sep-19 11:47
membersimpledeveloper26-Sep-19 11:47 
Hi all,

I have a
<div class="header-top-outer container-fluid">
, i have imported the css files where these classes exist into my project with a statement
import style from '../css/styles.css'


In my react component when I am trying to reference this div as below in my React component:
<div className={style.footer-outer + ' ' + style.container-fluid}>

it is throwing a compiled error for me:
./src/components/FooterMenu.jsx
  Line 25:  'outer' is not defined  no-undef
  Line 25:  'fluid' is not defined  no-undef
  Line 26:  'outer' is not defined  no-undef

Search for the keywords to learn more about each error.

What is the option to avoid these errors? Like what is the way I can reference css classes which have - in them using import reference?

i have tried the following way also, but it didn't work:
<div className={'${style.footer-outer} ${style.container-fluid}'} >


modified 26-Sep-19 17:11pm.

AnswerRe: Importing css classes into React Component Pin
Richard Deeming27-Sep-19 2:35
mveRichard Deeming27-Sep-19 2:35 
GeneralRe: Importing css classes into React Component Pin
simpledeveloper27-Sep-19 7:09
membersimpledeveloper27-Sep-19 7:09 
GeneralRe: Importing css classes into React Component Pin
Wishe199130-Sep-19 0:25
memberWishe199130-Sep-19 0:25 
QuestionTrying to convert a jQuery MVC app into React Web Api App Pin
simpledeveloper26-Sep-19 8:02
membersimpledeveloper26-Sep-19 8:02 
AnswerRe: Trying to convert a jQuery MVC app into React Web Api App Pin
jkirkerx26-Sep-19 10:18
professionaljkirkerx26-Sep-19 10:18 
GeneralRe: Trying to convert a jQuery MVC app into React Web Api App Pin
simpledeveloper26-Sep-19 10:59
membersimpledeveloper26-Sep-19 10:59 
GeneralRe: Trying to convert a jQuery MVC app into React Web Api App Pin
simpledeveloper26-Sep-19 11:58
membersimpledeveloper26-Sep-19 11:58 
AnswerRe: Trying to convert a jQuery MVC app into React Web Api App Pin
Wishe199130-Sep-19 0:20
memberWishe199130-Sep-19 0:20 
QuestionHow to call Fetch url using HTML ? Pin
Abdalla Ben Omran25-Sep-19 2:53
memberAbdalla Ben Omran25-Sep-19 2:53 
AnswerRe: How to call Fetch url using HTML ? Pin
Richard Deeming25-Sep-19 3:48
mveRichard Deeming25-Sep-19 3:48 
AnswerRe: How to call Fetch url using HTML ? Pin
Wishe199130-Sep-19 0:26
memberWishe199130-Sep-19 0:26 
QuestionGrid Pin
Member 1458354223-Sep-19 21:27
memberMember 1458354223-Sep-19 21:27 
AnswerRe: Grid Pin
Richard MacCutchan23-Sep-19 22:02
protectorRichard MacCutchan23-Sep-19 22:02 
AnswerRe: Grid Pin
ZurdoDev26-Sep-19 11:21
professionalZurdoDev26-Sep-19 11:21 
AnswerRe: Grid Pin
Wishe199130-Sep-19 0:24
memberWishe199130-Sep-19 0:24 
QuestionCreating a JScript to add the filename to a document in PDF-Exchange Editor. Pin
MisterBobTheTomato18-Sep-19 3:32
memberMisterBobTheTomato18-Sep-19 3:32 
AnswerRe: Creating a JScript to add the filename to a document in PDF-Exchange Editor. Pin
Wishe199130-Sep-19 0:24
memberWishe199130-Sep-19 0:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.