我在网上搜索,但没有找到任何东西.我正在尝试使用javascript更新文本框的占位符颜色,但我该怎么做?我有一个颜色选择器,颜色正在改变.
如果我在CSS中有这样的东西,我该如何更新它?
::placeholder {
color: red;
}
Run Code Online (Sandbox Code Playgroud)
<input placeholder="placeholder" />
Run Code Online (Sandbox Code Playgroud)
是否有javascript命令来编辑它?就像是
document.getElementById('text').style.placeholderColor = newColor;
Run Code Online (Sandbox Code Playgroud) 我正在使用LibGDX和RoboVM制作应用程序,而且我遇到了谷歌移动广告框架的问题.我到处搜索,但没有解决我的错误.
如果我在robovm.xml中声明这个框架就像这样
<frameworkPaths>
<path>libs</path>
</frameworkPaths>
<frameworks>
<framework>UIKit</framework>
<framework>OpenGLES</framework>
<framework>QuartzCore</framework>
<framework>CoreGraphics</framework>
<framework>OpenAL</framework>
<framework>AudioToolbox</framework>
<framework>AVFoundation</framework>
<framework>GoogleMobileAds</framework>
</frameworks>
Run Code Online (Sandbox Code Playgroud)
当我要创建IPA时,它会给我这个错误.
我怎么解决这个?
[ERROR] Undefined symbols for architecture armv7:
[ERROR] "_OBJC_CLASS_$_GLKView", referenced from:
[ERROR] objc-class-ref in GoogleMobileAds(flat-armv7)
[ERROR] "_kCVPixelBufferPixelFormatTypeKey", referenced from:
[ERROR] l5704 in GoogleMobileAds(flat-armv7)
[ERROR] (maybe you meant: _str_kCVPixelBufferPixelFormatTypeKey_00)
[ERROR] "_kCVImageBufferYCbCrMatrix_ITU_R_601_4", referenced from:
[ERROR] l4155 in GoogleMobileAds(flat-armv7)
[ERROR] "_GLKMatrix4Identity", referenced from:
[ERROR] l4149 in GoogleMobileAds(flat-armv7)
[ERROR] l4160 in GoogleMobileAds(flat-armv7)
[ERROR] (maybe you meant: _str_GLKMatrix4Identity_00)
[ERROR] "_CVOpenGLESTextureGetTarget", referenced from:
[ERROR] l4158 in GoogleMobileAds(flat-armv7)
[ERROR] …
Run Code Online (Sandbox Code Playgroud)